These are different types of operators used in c++
programming language.
1.
Arithmetic Operators
Operators like +,-,*, / etc. are arithmetic operators.
·
Unary Operators
Operator that work as a single operator is unary like (A++)
·
Binary Operators
Operators that operates or work with two operands like (A*B)
2.
Rational Operators
These are used to compare values or for conditions like (==, >= , <= )
3.
Logical Operators
The operators that are used for logics like (&&, ||, ! )
4.
Bitwise Operators
The Operators that are used for output and outputs (<<,>>,^,~)
5.
Assignment Operators
These operators are used to assign a value. Like ( a=10 )
6.
Misc Operator
The operators used to find size, comma, cast etc. like (Condition ? X : Y)
No comments:
Post a Comment