已知函数原形为: struct tree *f (x1,x2,x3,x4) int x1,int *x2; struct tree x3,*x4 其中tree为已定义过

已知函数原形为:
struct tree *f (x1,x2,x3,x4)
int x1,int *x2;
struct tree x3,*x4
其中tree为已定义过的结构,且有下列变量定义:
strcut tree pt,*p; int i;
请选择正确的函数调用语句( )。
A)&pt=f(10,&i,pt,p);
B)p=f(i++,(int *)p,pt,&pt);
C)p=f(i+1,&(i+2),*p,p);
D)f(i+1,&i,p,p);

C
表示这个函数的返回值类型为struct tree*类型,函数带有一个整形、整形指针、struc tree和struct tree*类型指针;
温馨提示:答案为网友推荐,仅供参考
第1个回答  2011-01-05
然后呢?问题是啥?
相似回答