| General Information | |
| Operators | ++ |
| - | |
| Type | unary |
| Syntaxes | expr - |
| expr ++ | |
| ++expr | |
| -expr | |
| Operand Type | leftvalue of type integer, char or float. |
| Result Type | see following table |
| Functions | expr - : post-decrementation |
| expr ++ : post-incrementation | |
| ++expr : pre-incrementation | |
| -expr : pre-incrementation | |
| Possible Operand Combinations | |
| operand type | result type |
| integer | integer |
| float | float |
| char | integer |
| Expression Examples | ||
| expression | result | |
| a := 1; a++ | 1 | initially a equals 1; the result of the evaluation is 1 but after the evaluation, a equals 2 |
| -a | 0 | |
| a++ | 0 | a equals 1 after the evaluation |