当前位置:首页 > 计算机软件基础(一)(02243) > 正文内容

已知C语言程序段如下:structxs{intnum;charname[20];floatscore;}stu[4]={{1,"

已知C语言程序段如下:structxs{intnum;charname[20];floatscore;}stu[4]={{1,"chenhong",95.0},{2,"lili",76.5},{3,"wangmei",98.0},{4,"liuxin",100}};structxs*p;p=stu;则值为76.5的表达式是【】
A、(*p).score
B、(*++p).score
C、(*p++).score
D、(p++)->score
【正确答案】:B

扫描二维码免费使用微信小程序搜题/刷题/查看解析。

版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。

本文链接:https://20230611.cn/post/1142461.html