Question #280927

Show the printout of the following code:


int a = 6;


Int b = a++;


cout << a << endl;


cout << b << endl;


a = 6;


b = ++a;


cout << a << endl;


cout << b << endl;

Expert's answer

7
6
7
7

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS