OPERATOR(7) Miscellaneous Information Manual OPERATOR(7)

operatorC operator precedence and order of evaluation

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

/usr/share/misc/operator
 
June 9, 1993 macOS 14.4