Skip to main content

Posts

Showing posts with the label break in C program

Continue and break statement Statement in C Program #DOTC_Mdb

Continue and break statement Statement in C Program. Hi Everyone , Today we will discuss about Continue and break statement in C . Before understanding Continue and break statement in C please follow my below blog for your reference. https://dheeraj60.blogspot.com/2020/06/while-and-do-while-loop-lop-in-c.html https://dheeraj60.blogspot.com/2020/06/nested-for-loop-with-simple-pattern.html https://dheeraj60.blogspot.com/2020/06/loop-concept-in-c-with-examples-dotcmdb.html   Let’s start with Continue Statement in C. Continue statement is used inside loops. When a continue statement is encountered inside a loop, control jumps to the beginning of the loop for next iteration, skipping the execution statement of loop for the current iteration.   Continue statement in C programming works somewhat like the break statement. Instead of termination, it forces the next iteration of the loop to work and skipping the code in between. Break statement will cover later after Continue Statement.