Computer Science, asked by neeluvishwakarma, 5 days ago

Q. 1 Discuss the use of the break statement?

Answers

Answered by daisyDrishti
6

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 (covered in the next chapter).

\small{\underline{\mathtt{\red{i}\blue{t}\orange{z}\pink{P}\blue{a}\purple{h}\green{a}\red{d}\blue{h}\orange{i}}}}

Similar questions