目录
一、第一个Hello World 程序
#include <stdio.h> //预处理命令
int main() //声明一个main函数,即程序入口
{ //"{}"中的内容是函数体,成对出现
printf("hello world\n"); //输出一行信息,每行语句以;结束
return 0; //将函数的执行结果返回
}
#include <stdio.h>
int main()
{
printf("hello world\n");
return 0;
}