NAME
operator
—
C operator precedence and
associativity
DESCRIPTION
Operator | Associativity |
() [] -> . | left to right |
! ~ ++ -- - (type) * & sizeof | right to left |
* / % | left to right |
+ - | left to right |
<< >> | left to right |
< <= > >= | left to right |
== != | left to right |
& | left to right |
^ | left to right |
| | left to right |
&& | left to right |
|| | left to right |
?: | right to left |
= += -= *= /= %= <<= >>= &= ^= |= | right to left |
, | left to right |