This operator adds one to a number after it is used. To specify postincrement, the operator must appear after the expression to be incremented. If the expression is a variable (or any expression which may appear on the left side of an assignment operator), the result will be stored to that variable. For example:
x = 3;
y = x++;
y will receive the value 3 and x will receive the value 4 after these statements execute.