Which statement can be used to terminate a case in the switch statement?
Answers
Answered by
15
Answer:
The break statement is frequently used to terminate the processing of a particular case within a switch statement.
Answered by
0
The break statement is frequently used to terminate a case within a switch statement.
- The break statement is used to end a statement sequence inside the switch.
- The switch terminates when a break statement is reached, and the flow of control jumps to the line after the switch statement.
- The break statement is not required. If this argument is left blank, execution will go to the next case.
- Until a break is achieved, control will pass through to the following cases.
Similar questions