Vidyalelo
C++ Programming · Q39

Control Flow Statements in C++

Programming · C++ Programming · question 39

Q39

What is the output of the following code: for (int i = 0; i < 5; ++i) if (i == 3) continue; cout << i << " "; in C++?

A.
0 1 2 3
B.
0 1 2 3 4
C.
0 1 2 4
Answer
D.
Compilation error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board