0
What is the output of this code?
int a = 2, b, c; b = ++a; c = ++b; a = b * c; cout <<a; My answer: 12 Righ answer : 16 Why?
4 Answers
+ 1
Thank you!
c = ++b - not only c = 4! ++b so b = 4 too đ
0
So the output was 16?
int a = 2, b, c; b = ++a; c = ++b; a = b * c; cout <<a; My answer: 12 Righ answer : 16 Why?