"Whenever a continue statement is executed, the rest of the statements within the body of the loop are skipped and the conditional expression in the loop is executed."
Q.) W.A.P to print 1 3 4 5.
#include<stdio.h>
#include<conio.h>
void main()
{
int i ;
for( i=1;i<=5;i++)
{
if(i==2)
{
continue;
}
printf(“%d”,i);
}
getch();
}