English, asked by mathankumarsrm2001, 1 month ago

what is the purpose of break statment​

Answers

Answered by Aaryan1919
2

Answer:

The break in C or C++ is a loop control statement which is used to terminate the loop. As soon as the break statement is encountered from within a loop, the loop iterations stops there and control returns from the loop immediately to the first statement after the loop.

Explanation:

Answered by sunirmalbehera088
1

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