Operator | Description |
+ | ... |
- | ... |
* | ... |
Operator | Description |
== | relational equals |
!= | relational inequality |
> | relational greater than |
< | relational less than |
>= | relational greater/equals than |
<= | relational less/equals than |
Operator | Description |
&& | logical and |
|| | logical or |
! | logical negation(unary) |
Operator | Description |
& | bitwise and |
| | bitwise or |
^ | bitwise xor |
~ | bitwise negation(unary) |
<< | bitwise left shift |
>> | bitwise right shift |
Operator | Description |
= | assign a value to a variable |
+= | increment a variable's value |
-= | decrement a variable's value |
*= | multiply a variable's value |
++ | increment a variable inline |
-- | decrement a variable inline |
Operator | Description |
&= | - |
|= | - |
<<= | - |
>>= | - |