int main()
{
if()
{
printf("Hello ");
}
else
{
printf("World !!!");
}
return 0;
}
在if里面请写入语句 使得打印出 hello world。
答案:
#include<stdio.h>
main()
{
if(!printf("hello "))
{
printf("Hello");
}
else
{
printf("world");
}
return 0;
}
注意:printf("hello "))的返回值是打印输出的字符个数