C++20 sections · 1024 units
Open in CourseQuiz: break and continue
Test understanding
Check Your Understanding
What does for (int i = 0; i < 6; i++) { if (i % 2 == 0) continue; cout << i; } print?
- A.1 3 5
- B.0 1 2 3 4 5
- C.0 2 4
- D.Nothing, the loop never runs