The Unary Operators
The Unary Operators
The unary operators require only one operand; they perform various operations such as incrementing/decrementing a value by one, negating an expression, or inverting the value of a boolean.
The increment/decrement operators can be applied before (prefix) or after (postfix) the operand. .