假设在一个文件中,我在同一项目的两个文件中有一些代码int func1(int a, int b, int c, bool d) /* function body*/extern func1(int a, int b, int c);
func1(runtime1, runtime2, runtime3);
当从file2.c调用bool d时,
我读过,在C void foo()中意思是a function foo taking an unspecified number of arguments of unspecified type。有人能给我或者指向一个例子,其中一个C函数接受一个未指定数量的参数吗?这在C语言中可以应用到什么?我在网上找不到任何东西。