Which one of the following reference to a member of structure is not right?struct pupil {char name[20]; int age;int sex;} pup[5], *p=pup;
选项:
A:scanf("%s",pup[0].name);;
B:scanf("%d",p->age);;
C:scanf("%d",&pup[0].age);;
D:scanf("%d",&(p->sex));
发布时间:2024-06-08 23:29:57