answersLogoWhite

0

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

User Avatar

Wiki User

15y ago

What else can I help you with?