Posts

Showing posts from June, 2022

Continue statement in C

Image
  Problem - Continue  Statement in C  Continue statement is used to continue the next iteration of the loops. Basically , Continue is a keyword in C  Problem solving - code- #include<stdio.h>   int main() {   int i=1;   //initializing a local variable         //starting a loop from 1 to 10     for(i=1;i<=10;i++) {       if(i==5) //if value of i is equal to 5, it will continue the loop  {       continue;  //continue the next iteration in loop   }     printf("%d\n",i);     } return 0;   }  N.B.       This code has written in Dev c ++ Editor . Output :  1 2 3 4 6 7 8 9 10 -------------------------------- Process exited after 0.2832 seconds with return value 0 Press any key to continue . . . Our YT channel link :  https://youtu.be/qTdQxVPxrog Our Telegram Group link :  https://t.me/programmingbangla Our Instagram link :  https://www.instagram.com/programming...                                                                   Thanks for wasting your valuable time ....