C++20 sections · 1024 units
Open in Course

Quiz: while Basics

Test understanding

Check Your Understanding

What happens if a while loop's condition is false the first time it's checked?

  1. A.The loop runs once, then exits
  2. B.The program crashes
  3. C.The loop runs infinitely
  4. D.The loop body never executes
Start the roadmap to answer the quizzes and solve the challenges