Q. How is break statement different from continue?

 

Answer =

 

Break :- A break statement skips the rest of the loop and jumps over to the statement following the loop.

Continue :- The continue statement skips the rest of the loop statements and causes the next iteration of the loop to take place.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post