Discuss the use of the break statement?
Answers
Answered by
31
Answer:
The break is a keyword in C which is used to bring the program control out of the loop. The break statement is used inside loops or switch statement. The break statement breaks the loop one by one, i.e., in the case of nested loops, it breaks the inner loop first and then proceeds to outer loops. ... With switch case.
Explanation:
please follow and brainliest
Answered by
5
Answer:
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