Question: What does the break statement do in C and C++? - Skips the rest of the loop and transfers the control to the beginning of
What does the break statement do in C and C++?
- Skips the rest of the loop and transfers the control to the beginning of the loop
- Causes the innermost loop (or switch) to be exited
- Transfers the control to a labeled statement
- Exits several nested loops
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
