!, and the cast operator (§15.16) are called the unary operators.
UnaryExpression: PreIncrementExpression PreDecrementExpression
- UnaryExpression UnaryExpressionNotPlusMinusPreIncrementExpression:
-- UnaryExpressionUnaryExpressionNotPlusMinus: PostfixExpression
! UnaryExpression CastExpression
Expressions with unary operators group right-to-left, so that
-~x means the same as
A unary expression preceded by a
++ operator is a prefix increment expression.
The result of the unary expression must be a variable of a type that is convertible ...