在c中有这样的例子:
main()
{
int add();
int (*p)();
p=add;
int z=(*p)(1,1,1);
}
add(int x,int y,int z)
{return x+y+z;}结果就是z=3.