示例代码如下:
// 头文件 #include <stdio.h> // 主函数 int main(){ // 打印输出 printf("hello world\n"); // 返回值 return 0; }