Right Click to Search

Sunday, December 20, 2024

Skipping Loop : Continue Statement in C Programming



Continue Statement in C Programming !
Why Need arises ?
  • During the Loop Operation it may be necessary for programmer to skip the Certain Part under certain condition
  • In this case C Provides Powerful Keyword 'continue'
What continue Tells us ?
  • It tells us ' Skip the following Statement and continue with next iteration'
Syntax:
continue;
Note :
  • Use this Keyword in Loops Only ( for , while , do-while )
  • Continue is Used for Skipping Certain Part of Loop

Graphical Representation :
Loop
Use of Continue !!
for
while

do-while

Tags / Keywords : |

Stumble
Delicious
Technorati
Twitter
Facebook

0 Comments:

Post a Comment

Your Feedback :This is Growing Site and Your Feedback is important for Us to improve the Site performance & Quality of Content.Feel Free to contact and Please Provide Name & Contact Email

 

Learn C Programming Copyright © 2010 LKart Theme is Designed by Lasantha, Free Blogger Templates