Solved

What Will the Following Loop Display?
Int X = \quad

Question 8

Multiple Choice

What will the following loop display?
int x = 0;
while (x < 5)
{
\quad cout << x << endl;
\quad x++;
}


A) 0
1
2
3
4
5
B) 0
1
2
3
4
C) 01 2 3 4
D) The loop will display numbers starting at 0, for infinity.

Correct Answer:

verifed

Verified

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

Related Questions