Difference between Break Statement and Continue Statement
Break Statement V/S Continue Statement :-
Break Statement | Continue Statement |
When break is encountered the switch or loop execution is immediately stopped. | When continue is encountered the statements after it are skipped and the loop control jump to next iteration. |
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment