Question: Assume that the given code runs without any errors and the value of variables used in the code are y1=22, y2=11, and y3=12. What
Assume that the given code runs without any errors and the value of variables used in the code are y1=22, y2=11, and y3=12. What will be the output of the following C++ code? y1 = y2++; y2 = --y3; y3 = yl+y2+y3+++y2++; cout < < y1 < < y2 < < y3;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
