Zia
0
Q:

c while

int i=0;
while(1){
  // Process you want to loop
  i++;
  if(i>10){
    break;
  }
}
  
1
while (testExpression) 
{
    // statements inside the body of the loop 
}
0
while( a < 20 ) {
      printf("value of a: %d\n", a);
      a++;
   }
0

Related

New to Communities?

Join the community