| Action |
The increment operator adds the numeric value 1 to the value of identifier. In the first case, where the increment operator appears before identifier, the value of the increment expression is the value of identifier after it is incremented. That is, the
increment operation takes place first, and the result is used as the value of the expression. In the second case, where the increment operator appears after identifier, the value of the increment expression is the value of identifier before it is
incremented; the increment operation takes place after the expression's value has been determined.
|