typedef int(FUNC1)(int in);

#include <stdio.h>   
int inc(int a)   
{
return(++a);
 }  
int multi(int*a,int*b,int*c)   
{  
return(*c=*a**b);
}  

typedef int(FUNC1)(int in);
  
typedef int(FUNC2) (int*,int*,int*);
  
void show(FUNC2 fun,int arg1, int*arg2)  
{    
   FUNC1 p=&inc;   
  int temp =p(arg1);   
  fun(&temp,&arg1, arg2);   
  printf("%dn",*arg2);   
}

原文地址:https://www.cnblogs.com/qmlm8844/p/2946524.html