编辑代码

#include <stdio.h>

void test ()
{
    static int temp;
    if (!temp) {
        temp =1;
        printf("0000\n");

    }
    else 
        printf("1111\n");

}

int main () {
    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
    printf("Hello world!     - c.jsrun.net.\n");

    test();
    test();
    test();




    return 0;
}