+ 1
What is diffrence between ( continue; ) and ( break; )?
(At the end of the loop statement)
1 Réponse
+ 3
Break leaves the loop completely and executes the statements after the loop. Whereas Continue leaves the current iteration and executes with the next value in the loop. ... A continuestatement is used to end the current loop iteration and return control to the loop statement.