#include <stdio.h> //这是编译预处理指令
int main() //定义主函数
{ //函数开始的标志
printf("This is a c program.\n");//输出所指定的一行
system("pause"); //中途停止
return 0; //函数执行完毕后返回函数0
}
执行结果
#include <stdio.h> //这是编译预处理指令
int main() //定义主函数
{ //函数开始的标志
printf("This is a c program.\n");//输出所指定的一行
system("pause"); //中途停止
return 0; //函数执行完毕后返回函数0
}
执行结果