Solved

What Is the Output of the Following C++ Code? Count \quad

Question 19

Multiple Choice

What is the output of the following C++ code? count = 1;
num = 25;
while (count < 25)
{
\quad num = num - 1;
\quad count++;
}
cout << count << " " << num << endl;


A) 24 0
B) 24 1
C) 25 0
D) 25 1

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions