What is the use of break and continue?

Break Statement

Break Statement – This statement is used to “jumps out” of a loop. The break statement breaks the loop and continues executing the code after the loop (if any).

Continue Statement

Continue Statement – This statement is used to “jumps over” one iteration in the loop. The continue statement breaks one iteration (in the loop) if a specified condition occurs and continues with the next iteration in the loop.

Escape Sequences

Character ConstantMeaning
\bBackspace
\fForm feed
\nMove to new line
\rCarriage return (Enter)
\tHorizontal Tab
\vVertical Tab
\\Print back slash
\?Print question mark
\‟Print single quote
\”Print double quote
\0Null character
Tagged : / / /
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x