Break and Continue Statements

Break Statement -
- The break articulation is utilized to break the circle or switch-case announcements execution and carries the control to the following square of code after the circle or switch case.
- Break articulations are usual to bringing the program control unware of present circumstances.
- The break articulation is utilized inside circles or switch explanations in C Language.
Continue Statement -
- The proceed with proclamation is utilized inside circles in C Language. At the point when a consistent assertion is experienced inside the circle, control leaps to the start of the circle for the following cycle, avoiding the execution of proclamations inside the body of the circle after the procedure with an explanation.
- It is accustomed to carry the control to the following emphasis of the circle.
- The proceed with articulation skips some code inside the circle and proceeds with the following accent.
- It is primarily utilized for a condition with the goal that we can avoid a few lines of code for a specific condition.
- It powers the following emphasis on top of it for example as break ends the circle yet proceeds with powers the following cycle of the circle.
0 Comments