c语言的第一个程序

Hello world!

1,程序中所用的是英文状态下的输入 2,开头的声明必不可少 3.每行命令以;分号为结束符 4,最后要有return 0.

#include <stdio.h> /*编译预处理命令,c所必须*/

int main()
{
    printf("hello world
");/*打印输出*/
    return 0;
}
原文地址:https://www.cnblogs.com/Zhu-Xueming/p/8436298.html