The ++ (increment) operator adds 1 to the value of a scalar operand, or if the operand is a pointer, increments the operand by the size of the object to which it points. The operand receives the result of the increment operation. The operand must be a modifiable lvalue of arithmetic or pointer type.
play = ++play1 + play2++;
int temp, temp1, temp2; temp1 = play1 + 1; temp2 = play2; play1 = temp1; temp = temp1 + temp2; play2 = play2 + 1; play = temp;
The result has the same type as the operand after integral promotion.
The usual arithmetic conversions on the operand are performed.
The increment operator has
been extended to handle complex types. The operator works in the same
manner as it does on a real type, except that only the real part of
the operand is incremented, and the imaginary part is unchanged.