• Source
    1. #include <stdio.h>
    2.  
    3. int main (int argc, char **argv) {
    4. int i = 0;
    5.  
    6. while (i < 10) {
    7. i++;
    8. printf("i=%d\n", i);
    9. }
    10.  
    11. while (i < 10) {
    12. /* do nothing */
    13. }
    14.  
    15. return 0;
    16. }