Operator

Description 
Associativity 
()
[]
.
> 
Parentheses (grouping)
Brackets (array subscript)
Member selection via object name
Member selection via pointer 
lefttoright

++

+

!
~
(type)
*
&
sizeof 
Unary preincrement/predecrement
Unary plus/minus
Unary logical negation/bitwise complement
Unary cast (change type)
Dereference
Address
Determine size in bytes 
righttoleft 
*
/
% 
Multiplication/division/modulus 
lefttoright 
+
 
Addition/subtraction 
lefttoright 
<<
>> 
Bitwise shift left,
Bitwise shift right 
lefttoright 
<
<=
>
>= 
Relational less than/less than or equal to
Relational greater than/greater than or equal to 
lefttoright 
==
!= 
Relational is equal to/is not equal to 
lefttoright 
& 
Bitwise AND 
lefttoright 
^ 
Bitwise exclusive OR 
lefttoright 
 
Bitwise inclusive OR 
lefttoright 
&& 
Logical AND 
lefttoright 
 
Logical OR 
lefttoright 
?: 
Ternary conditional 
righttoleft 
=
+=
=
*=
/=
%=
&=
^=
=
<<=
>>= 
Assignment
Addition/subtraction assignment
Multiplication/division assignment
Modulus/bitwise AND assignment
Bitwise exclusive/inclusive OR assignment
Bitwise shift left/right assignment 
righttoleft 
, 
Comma (separate expressions) 
lefttoright 