Break And Continue Statements:
In this C tutorial for beginners, we are going to discuss a very useful facility of C++ which are break and continue statements.
Break statement in C:
Previously, we have seen that break statement was used in a switch structure. Similarly, you can use break statement in while, for and do…while loops. When a break statement executes in a repetition structure, it immediately exits from the repetition structure. There are times when our requirement is met but the loop still doesn’t finish so, we use this break...
Showing posts with label continue in c. Show all posts
Showing posts with label continue in c. Show all posts
Thursday, 17 October 2013
Subscribe to:
Posts (Atom)