9.6.4 Operators
The linker recognizes the standard C set of arithmetic operators, with the standard bindings and precedence levels:
Precedence | Associativity | Operators | Description |
---|---|---|---|
1 (highest) | left | ! - ~ |
Prefix operators |
2 | left | * / % |
multiply, divide, modulo |
3 | left | + - |
add, subtract |
4 | left | >> << |
bit shift right, left |
5 | left | == != > < <=
>= |
Relational |
6 | left | & |
bitwise and |
7 | left | | | bitwise or |
8 | left | && |
logical and |
9 | left | || |
logical or |
10 | right | ? : |
Conditional |
11 (lowest) | right | &= += -= *= /= |
Symbol assignments |