One pair of operators that works on var
are increment (++
) and
decrement (--
). ++
increases the value of the var
by 1
, while
--
decreases the value of the var
by 1
.
You can learn more about this in:
Tags: