OPERATOR
Section: Environments, Tables, and Troff Macros (7)Index Return to Main Contents
BSD mandoc
NAME
C operator - C operator precedence and order of evaluationDESCRIPTION
This manual page lists C operators and their precedence in evaluation.
- Operator Associativity
- "-------- -------------"
- "() [] -> . left to right"
- "! ~ ++ -- + - (type) * & sizeofright 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"


