Operator Precedence & Associativity
( ) left to right/inside-out
++ -- ! + (unary) - (unary) (type) right to left
* / % left to right
+ (addition) - (subtraction) left to right
< <= > >= left ot right
== != left to right
&& left to right
|| left to right
= += -= *= /= %= right to left
, (comma) right to left
Previous slide
Next slide
Back to first slide
View graphic version