Unary Operators
CLight includes the following unary operators:
Symbol | Name |
---|---|
| Postfix increment and decrement operators |
Syntax
unary-operator
: ++
--
Example
The following lines of code increase the value of the variable i
by 1, then decreases it by 1.
Last updated