Unary expressions

A unary expression contains one operand and a unary operator.

The supported standard unary operators are:

All unary operators have the same precedence and have right-to-left associativity, as shown in Table 23.

As indicated in the descriptions of the operators, the usual arithmetic conversions are performed on the operands of most unary expressions.

Related information