Youtube RSS Feed
Learn with Vikas Suhag
Program to demonstrate usage of "continue" in C Language
Dec 26, 2021   Vikas Suhag
"continue" in C Language

#include <stdio.h>
void main ()
{
/* local variable definition */
int a = 10; /* do loop execution */
do {
if( a == 11) { /* skip the iteration */
a = a + 1;
continue;
}
printf("value of a: %d\n", a);
a++;
} while( a < 20 );
}


Leave a Comment

* Email will not be published.
All comments are only visible after approval.
Most Viewed articles
Search
Subscribe to Email Updates
Vikas Suhag

I am Engineer, Developer, Teacher, Blogger, Vlogger, Traveller, Photographer...

I have been developing websites, writing blogs and recording videos during my travel while being a full tim ...

Youtube Channel
Podcast
Subscribe to Email Updates
Connect With Us
Youtube RSS Feed
© 2022 Learn with Vikas Suhag. All Rights Reserved.