3.05-while注意點

#include <stdio.h>


int main()

{

    /*

    while (10)

    {

        printf("哈哈哈哈\n");

    }*/

    

    /*

    int a = 10;

    // while (a>0); 死循環

    while (a>0)

    {

        a--;

        printf("哈哈哈\n");

    }*/

    

    // 最簡單的死循環

    //while(1);

    

    return 0;

}

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章