Quiz on C++ Continue Statement



1. What is the purpose of the continue statement in C++?
2. In which types of loops can the continue statement be used?
3. What happens when the continue statement is executed in a loop?
4. Can the continue statement be used with nested loops?
5. Which of the following correctly demonstrates the use of continue in a loop?

Advertisements