7.Example of continue statement
#include <stdio.h>
int main()
{
int i=0;
int skip=5;
while (i < 10)
{
i++;
if (i != skip)
{
continue;
}
else
printf("%d\n", i);
}
return 0;
}
Comments
Post a Comment