What is the difference between the prefix and postfix increment operators it's really confusing when used in a code. What would be delighted output of this code.
int a= 5;
int b= 4;
cout << b;
7/27/2017 11:46:34 AM
Prefix: makes increment, return you original object
Postfix: makes copy with old value, increments value, returns you old copy.
In statements returned values are used.
Learn Playing. Play Learning
Send us a message