The _______ statement is used to prematurely exit a switch-case block.
- return
- break
- continue
- exit
The "break" statement is used to exit a switch-case block prematurely. Once a "break" is encountered, the control jumps out of the switch-case structure.
Loading...
Related Quiz
- Which file opening mode in C++ will allow you to append data at the end of the file’s content?
- Which STL container provides constant time access to elements but may take linear time to insert a new element?
- C++ was initially called _______ during its early development phase.
- In what year was the C++17 standard released?
- When performing a bitwise AND operation with a number and 0, the result is always _______.