| Priority | Operator | Meaning |
| First (highest) | ()
[] * ^ |
grouping - inner to outer
array concatenation pointer dereference exponentiation |
| Second | *
# and ## / MOD |
multiplication
array multiplication division modulus |
| Third | +
- < > NOT |
addition
subtraction minimum maximum Boolean negation |
| Fourth | EQ
NE LE LT GE GT |
equality
not equal less than or equal less than greater than or equal greater than |
| Fifth | AND
OR XOR |
Boolean AND
Boolean OR Boolean exclusive OR |
| Sixth | = | assignment |