输出两行短句
程序核心——输出语句printf
程序
#include<stdio.h>
int main(void)
{
printf("programming is fun.
");
printf("And programming in C is even more fun!
");
return 0;
}
结果
programming is fun.
And programming in C is even more fun!
--------------------------------
Process exited after 0.3383 seconds with return value 0
请按任意键继续. . .
分析
重点: 在输出结果是回车