Explain the use of break statement in a program. with example.
Answers
Answered by
1
Explanation:
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.
Answered by
0
Answer:
xplain the use of break statement in a program
Similar questions