#include
typedef void(*pcb)(char *);
void GetCallBack(pcb callback,char* s)
{
printf("
getCallBack");
callback(s);
}
void fCallback(char *s)
{
printf("
this is %s-0",s);
}
void fCallback1(char *s){
printf("
this is %s-1",s);
}
int main(){
GetCallBack(fCallback,"fCallBack");
GetCallBack(fCallback1,"fCallBack");
}