Quiz on C++ Break Statement



1. What is the primary purpose of the break statement in C++?
2. Which of the following statements is true about the break statement?
3. What happens if a break statement is executed inside a nested loop?
4. Can a break statement be used without a loop?
5. In which scenario would you typically use a break statement?

Advertisements