What is the output? for (int i = 0; i < 5; i++) {
What is the output?
for (int i = 0; i < 5; i++) {
if (i == 2) continue;
if (i == 4) break;
printf("%d", i);
}
Show answerHide answer
Correct answer: (C) 013
Explanation
i = 2 is skipped; the loop stops at i = 4.