Precedence Type Associativity
( )
Parentheses
Left-to-Right
++ -- + -
! static_cast<type>()
Unary
Right-to-Left
* / %
Multiplicative
Left-to-Right
+ -
Additive
Left-to-Right
<< >>
Insertion/Extraction
Left-to-Right
< <= > >=
Relational
Left-to-Right
== !=
Equality
Left-to-Right
&&
Logical
AND
Left-to-Right
||
Logical OR
Left-to-Right
?:
Conditional
Right-to-Left
= += -= *= /=
%=
Assignment
Right-to-Left
,
Comma
Left-to-Right