Increments the value of a variable by 1.
x{plus}{plus}; // increment x by one and returns the old value of x{plus}{plus}x; // increment x by one and returns the new value of xx: variable. Allowed data types: int, long (possibly unsigned).
The original or newly incremented value of the variable.
x = 2;
y = ++x; // x now contains 3, y contains 3
y = x++; // x contains 4, but y still contains 3