设有以下函数: void fun(int n,char *s){......} 则下面对函数指针的定义和赋值均正确的是
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
查看答案
正确答案: D 答案分析:无
包含此试题的试卷:
相关的试题
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;
A.void *pf(); pf=fun;
B.void (*pf )(int, char );pf=&fun;
C.void *pf(); *pf=fun ;
D.void (*pf)(int ,char *) ; pf=fun;