Continue statement C Programming /*The following program using continue statement*/ #include #include void main() { int i=1; for(i=1;i<=10;i++){ if(i==5) { //if value of i is equal to 5, it will continue the loop continue; } printf("%d \n",i); }//end of for loop getch() ; } Output is as : I=1 I=2 I=3 I=4 I=5 I=7 I=8 I=9 I=10 Read more » Tweet Share Share Share Share Related Post
ConversionConversion EmoticonEmoticon