0
What will be the answer?
a=3; b=2; b=a++; cout <<++b;
6 Antworten
+ 2
4 is the answer:-)
+ 2
a+1 that is 4
+ 1
why is it 4 and not 5?
+ 1
dude you gotta understand first we have done b=a++ in which the value is first given to b then 1 is added ao the outcome is 3. then we have done cout<<++b in which first 1 is added and then printed so answer is 3+1=4 live a like if you understood:-)
0
s0*
0
4