题目内容:
有以下函数#include
structstu
{intmun;charname[10];intage;};
voidfun(structstu*p)
{printf(“%s\n”,p->name);}
main()
{structstux[3]={{01,”zhang”,20},{02,”wang”,19},{03,”zhao”,18}};
fun(x+2);
}
程序运行输出结果是( )。 A.zhang
B.zhao
C.wang
D.19
参考答案:
答案解析: