Q7
What will be the output of the following code: int i = 0; while (i < 5) cout << i << " "; i++; in C++?
A.
Compilation error
B.
1 2 3 4
C.
0 1 2 3
D.
0 1 2 3 4
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board