In expressions, the operator with the highest precedence is always computed first.
Unary operators have the higher precedence than other operators, and between unary operators the operator closest to the actual value has the highest precedence. Post-operators have higher precedence than pre-operators.
This list shows the available unary operators.
|scope resolution operator|
|post increment and decrement|
|pre increment and decrement|
|unary positive and negative|
This list shows the dual and ternary operator precedence in decreasing order.
|multiply, divide, and modulo|
|add and subtract|
|left shift, right shift, and arithmetic right shift|
|equality, identity, and logical exclusive or|
|assignment and compound assignments|