以下对结构体变量成员不正确的引用是()。 struct pupil { char name[20]; int age; int sex; } pu
已帮助 人
以下对结构体变量成员不正确的引用是()。 struct pupil { char name[20]; int age; int sex; } pup[5], *p=pup;
A.scanf("%s",pup[0].name);
B.scanf("%d",&pup[0].age);
C.scanf("%d",&(p->sex));
D.scanf("%d",p->age);
![以下对结构体变量成员不正确的引用是()。 struct pupil { char name[20]; int age; int sex; } pu](/uploads/allimg/6-2998031Q9.jpg)
回答
共1条回复-
struct { int num; float age;}Stu; struct Stu stdl;
