定义函数指针

int add(int a, int b)
{
    return a+b;
}
int (*pn)(int,int)=add;
原文地址:https://www.cnblogs.com/wumac/p/4122040.html