有以下说明和定义语句 struct student { int age; char num[8];}; struct student stu[3]={{20,"200401"},{21,"200402"},(19,"200403"}}; struct st

admin2013-02-23  20

问题 有以下说明和定义语句 struct student { int age; char num[8];}; struct student stu[3]={{20,"200401"},{21,"200402"},(19,"200403"}}; struct student*p=stu; 以下选项中引用结构体变量成员的表达式错误的是______。

选项 A、(p++)->num
B、p->num
C、(*p).num
D、stu[3].age

答案D

解析
转载请注明原文地址:https://kaotiyun.com/show/cvPp777K
0

最新回复(0)