I understand that ++x; is a prefix expression and x++; is a postfix.
What I can't grasp the concept of is the difference between:
x = x++; vs. x++;
Also, while I'm comparison shopping, why use x++; or ++x; as opposed to x = +=1; ?
If anyone has the time, can you break down the do's and don'ts of:
x = x++;
x++;
x +=1;
??
thanks!