相关考题
-
填空题
下列程序的输出结果是() -
单项选择题
已知函数原型为:structtree*f(intx1,int*x2,structtreex3,structtree*x4),其中tree为已定义的结构体类型,且有下列变量定义:structtreept,*p;inti;请选择正确的函数调用语句()
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); -
单项选择题
述关于枚举类型名的定义中,正确的是()
A.enuma={one,two,three};
B.enuma{one=9,two=-1,three};
C.enuma={"one","two","three"};
D.enuma{"one","two","three"}
