- 函数是C程序的基本单位
- 编写C程序的主要工作就是完成一个个函数的定义。
- 由自定义函数及系统提供的库函数共同完成程序功能
- 程序中只有一个main函数,即主函数
- 一个C程序总是main函数开始执行,而main函数可以出现在整个程序中获得任何位置
#include <stdio.h>
main(){
printf("hello.world");
}
#include <stdio.h>
main(){
printf("hello.world");
}
打赏作者