Continue ststement in c programming works like a break statement.but it will not terminate whole loop.it's difficult to understand like this Let us see example for it.
Example:
#include<stdio.h>
#include<conio.h>
main()
{
int a=1;
clrscr();
while(a<=10)
{
printf("%d",a);
a++;
if(a==5)
{
continue;
}
}
getch();
}
Example:
#include<stdio.h>
#include<conio.h>
main()
{
int a=1;
clrscr();
while(a<=10)
{
printf("%d",a);
a++;
if(a==5)
{
continue;
}
}
getch();
}