c

hello.c

#include <stdio.h>

int main()
{
    printf("hello, world!
");
    return 0;       
}

编译生成hello可执行目标文件:

  $ gcc -o hello hello.c

运行:

  $ ./hello

原文地址:https://www.cnblogs.com/hanbowen/p/10420510.html