Is there a difference between you plus plus and plus plus you?

Answer:
you++ will return the current value of you and increment it. ++you will increment it and then return the new value of you.

So, for example:

int you = 0;
cout << you++; // this will print 0
cout << you; // this will print 1

int you = 0;
cout << ++you; // this will print 1
cout << you; // this will also print 1
First answer by Krb80. Last edit by AzraelUK. Contributor trust: 1 [recommend contributor recommended]. Question popularity: 1 [recommend question].