以下scanf函数调用语句中对结构体变量成员的不正确引用是() struct pupil { char name [20]; int

大学网课 已帮助 人

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

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

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

C.scanf("%d", &(p->sex));

D.scanf("%d", p->sex);

以下scanf函数调用语句中对结构体变量成员的不正确引用是() struct pupil { char name [20]; int

热搜:构造函数的作用是什么?何时调用构造函数?