Computer Science, asked by sujalprasad54, 5 months ago

What is a break statement?​

Answers

Answered by faisalfiroz02
0

Answer:

The break statement terminates the execution of the nearest enclosing do , for , switch , or while statement in which it appears. Control passes to the statement that follows the terminated statement.

Hope it helps you.

Please mark it as brainliest.

Answered by nisha02345
2

Answer:

The break statement in C programming has the following two usages − When a break statement is encountered inside a loop, the loop is immediately terminated and the program control resumes at the next statement following the loop. It can be used to terminate a case in the switch statement

Similar questions