C++20 sections · 1024 units
Open in Course

Quiz: do-while

Test understanding

Check Your Understanding

What does int x = 10; do { cout << x; } while (x < 5); print?

  1. A.10
  2. B.Compilation error
  3. C.10 9 8 7 6 5
  4. D.Nothing, the condition is false
Start the roadmap to answer the quizzes and solve the challenges