试题详情
单项选择题 以下scanf函数调用语句中对结构体变量成员的不正确引用的是()。  struct node{      char name[20];      int age;      int sex; }student[5],*p;  p=student; 

A、scanf(“%s”,student[0].name);

B、scanf(“%d”,&student[0].age);

C、scanf(“%d”,&(p->sex));

D、scanf(“%d”,p->age);

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题