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