1 运行多个函数:
头文件:
//print.h #include "stdio.h" void printHello(void);
定义函数文件:
//print.c #include "print.h" void printHello() { printf("hello word!\n"); }
主函数文件:
//helloworld.c #include "print.h" int main(void){ printHello(); return 0; }
2 c语言不允许做函数的嵌套定义
3 c 语言允许做函数定义的时候调用其他函数,即函数的嵌套调用
原文:https://www.cnblogs.com/sd-xyy/p/12797818.html