Unary Operators

The unary operators are +, - and ! (not), the latter is used for boolean types. In addition, the increment and decrement operators ++ and -- are available. They can be used as prefix or postfix operators.

Unary operators take precedence over all other operators. They associate right to left.