C++20 sections · 1024 units
Open in CourseQuiz: Condition-based loop
Condition-based loop
Check Your Understanding
When does a while loop stop?
- A.After running once
- B.When its condition becomes false
- C.When you press a key
- D.It never stops
Condition-based loop
When does a while loop stop?