The C++ programming language offers different types of operators. These operators are used in expressions that evaluate to a single value. Sometimes the operator is used in decision making that changes the flow of the program.
Here is the diagram that classifies C++ operators into different categories.
Mod operation ( gives remainder)
Assigns right-value to left-value
Assigns ( left-value + right-value) to left-value
Assigns ( left-value right-value) to left-value
Assigns ( left-value * right-value) to left-value
Assigns ( left-value/ right-value ) to left-value
Assigns (left-value % right-value) to left-value
Right-shift and then assign to left-value
Left-shift and then assign to left-value
Bitwise AND operation and then assign to left-value
Bitwise OR operation and then assign to left-value.
Bitwise complement and then assign to left-value
Note: In the following expression A is left-value and 10 is right-value.