Answer to Question #280927 in C++ for Daemus

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;

1
Expert's answer
2021-12-17T18:18:07-0500
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog