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