Operators

Arithmetic
+
--
*
/
%
++
– –
Addition
Subtraction
Multiplication
Division
Modulus
Increment
Decrement
a
a
a
a
a
a
a
+
--
*
/
%
++
– –
b
b
b
b
b
b
b
Assignment
=
+=
-=
*=
/=
%=
Assign to
Add and assign
Subtract and assign
Multiply and assign
Divide and assign
Modulus and assign
a
a
a
a
a
a
=
+=
-=
*=
/=
%=
b
b
b
b
b
b
Comparison
==
!=
>
<
>=
<=
Equality
Inequality
Greater than
Less than
Greater than or equal
Less than or equal
a
a
a
a
a
a
==
!=
>
<
>=
<=
b
b
b
b
b
b
Logical
&&
||
!
And
OR
NOT
a
a
a
&&
||
!
b
b
b

 

 

& address of

* derefencing

. member

-> infix operator

Leave a Reply