Operator In C++


In programming language operator is a symbol that’s helps in calculation, creating decision etc



Arithmetic Operators In C++


Operator Name
+ Addition
- Substraction
* Multiplication
/ Division
% Modulus

Increment & Decrement Operators In C++


Operator Name Description
++ Increment It’s increment one value
-- Decrement It’s decremnet one value

Logical Operators In C++


Operator Name Description
&& AND It’s work’s with Multiple condition if both are ture
|| OR It’s wok’s with single and multiplication condition
! NOT It’s works’ with negation on an expression

Relational Operators In C++


Operator Name Description
== is equal to For check any number & character
< Less than it works if less than
> Greater than it work if greater than
<= Less than or equal it work with both less or equal
>= Greater than or equal it work with both greater or equal
!= Not equal to If work with is not equal to

Bitwise Operators In C++


Operator Name
<< Binary Left shift operator
>> Binary Right shift operator
~ Binary Ones Complement Operator
& Binary AND Operator
^ Binary XOR Operator
| Binary OR Operator

Misc Operators In C++


Operator Name
, Comma Operator
?:; Conditional statement
* pointer variable declaration
& find address of a variable