OPERATOR(7) - Miscellaneous Information Manual #
OPERATOR(7) - Miscellaneous Information Manual
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
OpenBSD 7.5 - June 21, 2019