📅  最后修改于: 2022-03-11 14:58:25.752000             🧑  作者: Mango
typedef int (*t_somefunc)(int,int);
int product(int u, int v) {
return u*v;
}
t_somefunc afunc = &product;
...
int x2 = (*afunc)(123, 456); // call product() to calculate 123*456