C++20 sections · 1024 units
Open in CourseQuiz: for Variations
Test understanding
Check Your Understanding
What does for (int i = 2; i <= 8; i += 2) print?
- A.2 4 6 8
- B.2 4 6
- C.2 3 4 5 6 7 8
- D.0 2 4 6 8
Test understanding
What does for (int i = 2; i <= 8; i += 2) print?