Quote:
Originally Posted by Roger
The while loop continues to loop while the condition in the () remains true. It is checked at the beginning of the loop. (There is another kind of while loop that checks at the end of the loop.)
|
That'd be a do-while loop.
Code:
do {
printf("Looping...\n");
} while(x == 2);