fork download
  1.  
  2. #include <stdio.h> //这是编译预处理指令
  3. int main() //定义主函数
  4. { //函数开始的标志
  5. printf("This is a C program.\n"); //输出所指定的一行信息
  6. return 0; //函数执行完毕时返回函数值0
  7. }
Success #stdin #stdout 0s 5268KB
stdin
Standard input is empty
stdout
This is a C program.