下面是 C 语言中的 "Hello, World!" 程序的样例:
#include <stdio.h>
int main() { printf("Hello, World!\n"); return 0; }
注意,在 C 语言中,需要使用 #include 命令将头文件 stdio.h 包含进来,才能使用 printf 函数输出字符串。
下面是 C 语言中的 "Hello, World!" 程序的样例:
#include <stdio.h>
int main() { printf("Hello, World!\n"); return 0; }
注意,在 C 语言中,需要使用 #include 命令将头文件 stdio.h 包含进来,才能使用 printf 函数输出字符串。