以下scanf函数调用语句中,对结构体变量成员的不正确引用是()。 struct pupil {char name[20 ]; int age ; int sex; }pup[5],*p; p=pup;

题目内容(请给出正确答案)

以下scanf函数调用语句中,对结构体变量成员的不正确引用是()。 struct pupil {char name[20 ]; int age ; int sex; }pup[5],*p; p=pup;

A.scanf(“%s“,pup[0].name);

B.scanf(“%d“,&pup[0].age);

C.scanf(“%d“,&sex);

D.scanf(“%d“,P->age);

参考答案和解析
D D
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
更多相关问题