+ 1
In this program we have the following " lines ":
int a=3; int b=2; b=a++; cout <<++b; my question is, why we have here ++b and not simply b ?? ThNks!
4 ответов
+ 5
cout<<b; //output: 3
cout<<++b; //output: 4
+ 3
It's not that the program above is wrong...
+ 1
Thank you guys
0
whats the mistake?