What happens (behind the curtains) when this is executed?
int x = 7; x = x++;
That is, when a variable is post incremented and assigned to
x = x++;
is equivalent to
int tmp = x; x++; x = tmp;