[单项选择题] 有以下说明和定义语句: struct studentint age;char num[8];; struct student stu[3]
2021-07-20
[单项选择题] 有以下说明和定义语句:
struct student
int age;char num[8];;
struct student stu[3]= 20,"200401",21,"200402",19,"200403";
structstudent *p=stu;
以下选项中引用结构体变量成员的表达式错误的是( )。
A.(p++)->num
B.p->num
C.(*p).num
D.stu[3].age
正确答案:D
词条内容仅供参考,如果您需要解决具体问题
(尤其在法律、医学等领域),建议您咨询相关领域专业人士。