尝试编写出第一个C语言源程序
#include<stdio.h>
int main(){
    printf("Hello World!");
    return 0;
}//运行结果 : Hello World!
代码解析
#include<stdio.h>       //引入 名为:stdio 的 .h 头文件
int main(){             //main()函数  是C语言源程序的主入口
    printf("Hello World!");    // printf 是stdio.h库里的一个打印输出函数
    return 0;                  // return 则为返回值 这里返回的是一个 0
}Views: 6