BINDING - precedence and binding order of C operators.

Operators are listed from highest to lowest binding strength; there is no order within groups. Precedence classes begin with [LR] (if they bind left to right) or [RL] (if they bind right to left); some classes have been broken over two lines.

[LR] identifier constant  (E)  E[E]  F(E,E,...)  E.E  E->E
[RL] *E  &E  +E  -E  !E  ~E  ++E --E  E++  E--
        (type)E  _alignof  sizeof
[LR] E*E  E/E  E%E
[LR] E+E  E-E
[LR] E>>E  E<<E
[LR] E<E  E>E  E<=E  E>=E
[LR] E==E  E!=E
[LR] E&E
[LR] E^E
[LR] E|E
[LR] E&&E
[LR] E||E
[RL] E?E:E
[RL] E=E  E+=E  E-=E  E*=E  E/=E  E%=E  E>>=E  E<<=E
          E&=E  E^=E  E|=E
[LR] E,E

Copyright © 1996, Bull HN and Thinkage Ltd.