当前位置: 答题翼 > 问答 > 大学专科 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

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


若有以下说明和语句

  struct student

  {int age;

    int num;

  }std, *p;

  p=&std;

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

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

参考答案
您可能感兴趣的试题
  • 有以下说明和定义语句struct student{ int age; char num[8];};struct student stu[3]={{20,"200" />