18 lines
425 B
Plaintext
18 lines
425 B
Plaintext
|
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
|
||
|
= += -= etc. right to left
|
||
|
, left to right
|