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