标签:pre 过程 入门 参数 输入 world 细节 class --
// hello.c
#include <stdio.h> // 包含标准库的信息
main() // 定义名为 main 的函数,它不接受参数值
{ // main 函数的语句都被括在花括号中
printf("hello, world\n"); // main 函数调用库函数 printf 以显示字符序列;
}
cc hello.c
./a.out
hello, world
标签:pre 过程 入门 参数 输入 world 细节 class --
原文地址:https://www.cnblogs.com/binHome/p/12625922.html