纠错~
题目:用变量a给出下面的定义
7、[code=c]int (*max_function)(int a); // A pointer to a function a that takes an integer ar gument and returns an integer[/code]
如题目要求变量a应该是函数指针,火哥把a放到参数的位置了吧~
8、[code=c]int (*a[10])(int); // An array of 10 pointers to functions that take an integer argument and return an integer[/code]
题目是用变量a给出定义,函数定义中参数是要写出参数名称的,函数声明的时候才可以只写参数类型~