Computer Science, asked by charanganeshvarma, 1 month ago

8. What is the work of break keyword? *
(2 Points)
Halt execution of program
Restart execution of program
Exit from loop or switch statement
None of the above​

Answers

Answered by shamashaikh828
2

Answer:

hope it's helpful

Explanation:

The break keyword terminates the smallest enclosing do, for, switch, or while statement in which it appears. break; The break statement is used to exit an iteration or switch statement. It transfers control to the statement immediately following the iteration substatement or switch statement.

Answered by vishwakarmagautam192
1

Answer:

exit from loop or switch statement

Similar questions