int add(int a,int b){
return a+b; //功能函数
}
int showRes(int a,int b,int(*p)(int ,int)){ //函数指针作为形参
p(a,b);
}
void testRecall(){
int (*p)(int,int);
p=add;
printf("%d",showRes(10,20,p));
}
07-14
1万+
01-03
2344
10-25
1805
10-10