设有以下函数:
void (*pf)(int,char*); pf=fun;
void *pf(); pf=fun;
void *pf(); *pf=fun
void (*pf)(int,char); pf=&fun;
赋值给函数指针,需要函数的参数一致,返回值一致,才可以赋值。选项 A)正确。