mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
17 lines
425 B
Text
17 lines
425 B
Text
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
|