下面这段代码是让计算机“永无止境”地打印hello。其中有两个错 误,快来改正吧!
改正后:
#include <stdio.h>
#include <stdlib.h>
int main( )
{
while(1>0)
printf("hello");
system("pause");
return 0;
}
运行效果:
下面这段代码是让计算机“永无止境”地打印hello。其中有两个错 误,快来改正吧!
改正后:
#include <stdio.h>
#include <stdlib.h>
int main( )
{
while(1>0)
printf("hello");
system("pause");
return 0;
}
运行效果: