开放大学在线学习搜题
当前位置:首页 > 学习题库 > C语言程序基础

问题

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

发布时间:2025-11-23   作者:江苏开放大学   浏览:0

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


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

您可能感兴趣的试题