What is a break statement?
Answers
Answered by
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
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
Hindi,
2 months ago
Business Studies,
2 months ago
Math,
5 months ago
Math,
10 months ago
Math,
10 months ago