A-A+

若有以下说明和语句 struct student {int age; int num; }std *p; p=&std; 则以下对结构体变量std

2020-09-28 00:58:47 学历考试 阅读

问题详情

若有以下说明和语句

  struct student

  {int age;

    int num;

  }std, *p;

  p=&std;

  则以下对结构体变量std中成员age的引用方式不正确的是(  )。

  A.std.age  B.p->age  C.(*p).age D.*p.age

参考答案

考点: