摘要:
typedef int(*a)(int b);typedef int(c)(int a);int f1(int i){ return i * i;}int f2(a a1,c c1){ int i = 99; printf("%5d %5d\n",a1(i),c1(i)); return a1(i) + c1(i);}int main(){ int j = 199; c c2 = f1; printf("%d\n",c2(j)); printf("%d\n",f2(f1,f1)); return 0;} 阅读全文