Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 1

Precedence of operators

Operators Associativity
( ) , [ ] , . , -> R->L
++ , -- , ! , ~ , sizeof L->R
*,/,% L->R
+,- L->R
<< , >> L->R
< , <= , > , >= L->R
== , != L->R
&(Bitwise AND) L->R
|(Bitwise OR) L->R
&&(Logical AND) L->R
||(Logical OR) L->R
? : (Conditional Operator) R->L
= , += , -=(Assignment Operator) R->L
, (Comma) L->R

You might also like