Description
Decrements the value of a variable by 1.
Syntax
x-- ; // decrement x by one and returns the old value of x
--x ; // decrement x by one and returns the new value of x
Parameters
x
: variable. Allowed data types: integer, long (possibly unsigned)
Returns
The original or newly decremented value of the variable.