What Does The Break And Continue Keywords In Programming Languages Do?
Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people's questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Pallavi Kamat
Break
The break keyword is used in loops to avoid an infinite loop. When a condition is fulfilled, using break keywords helps exits the loop and does not enter an indefinite loop.
Continue
The use of continue keyword lets you skip the current iteration in loop and move to the next iteration.