1.5.1 Postfix
Postfix operators are operators that are suffixed to an expression.
operand
++;
This causes the value of the operand to be returned. After the result is obtained, the value of the operand is incremented by 1.
operand
--;
This is the same but the value of the operand is decremented by 1.
Examples:
int joe=3;
joe++;
The value of joe
is now 4.
printf("%i",joe++);
This outputs the number 4. The value of joe
is now 5.