+3 votes
in Class 11 by kratos

What is the purpose of ‘break’ statement?

1 Answer

+3 votes
by kratos
 
Best answer

The ‘break’ statement can be used to terminate a repeated structure (loops) such as ‘while’, do-while ‘and’ ‘for’ and multi-branching statements like ‘switch’.

...