首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
若有以下程序段: struct st {int n; int*m: }; int a=2,b=3,c=5; struct st s[3]=({101,&a},{102,&c},{103,&B)}; main()
若有以下程序段: struct st {int n; int*m: }; int a=2,b=3,c=5; struct st s[3]=({101,&a},{102,&c},{103,&B)}; main()
admin
2011-06-10
19
问题
若有以下程序段: struct st {int n; int*m: }; int a=2,b=3,c=5; struct st s[3]=({101,&a},{102,&c},{103,&B)}; main() {struct st*p; p=s; } 则以下表达式中值为5的是( )。
选项
A、(*p).m
B、*(p+1)->m
C、*(p++)->n
D、(p++)(*m)
答案
B
解析
转载请注明原文地址:https://kaotiyun.com/show/vtPp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
设有定义:intk=1,m=2;floatf=7;,则以下选项中错误的表达式是
设有定义:intn1=0.n2,*p=&n2,*q=&n1;,以下赋值语句中与n2=n1;语句等价的是
有以下结构体说明和变量定义,相应的链表如图所示:struetnode{intdata;struetnode*next;*p,*q,*r;现将q所指结点多链表中删除,同时要保持链表的连续,以下不能完成指定操作的语句
______是构成C语言程序的基本单位。
一个栈的输入序列为1,2,3,4,下列选项中的______序列不可能是这个栈的输出序列。
从未排序序列中依次取出元素与已排序序列中的元素作比较,将取出的元素放入已排序序列中的正确位置上,此方法称为______。
以下正确的说法是()。
软件工程的出现是由于【】。
软件工程学把软件从开始研制到最终软件被废弃的整个阶段叫做软件的【】。
随机试题
何谓阴道穹,有何临床意义?
对诊断最有意义的化验检查是原发病最可能是
蛋白质分子中的氨基酸残基可被PKC磷酸化的是
该过梁的跨电弯矩和支座剪力设计值最接近( )项数值。若过梁采用砖砌过梁,则其弯曲抗拉及抗剪承载力与( )项数值最为接近。
【背景资料】某市某工程项目施工合同已签订,采取单价合同,其中规定分项工程的工程量增加超过10%时,将双方协商的工程综合单价由100元/m3调整为80元/m3。双方对施工进度网络计划已达成一致意见。已批准的施工进度计划(单位:天),见图5-13。
常见工具式现浇墙、壁结构施工模板是()。
鞠躬礼源自日本。()
Afannercarelesslylostanexpensivegoldwatchinthebarnonthefarm,wherehesearchedforeverywherebutinvain.
简单比较诉讼时效与取得时效。
组织认同是指组织成员在行为或观念等诸方面与其所加入的组织具有一致性,觉得自己在组织中既有理性的契约和责任感,也有非理性的归属和依赖感,以及在这种心理基础上表现出的对组织活动尽心尽力的行为结果。 根据上述定义,下列选项不属于组织认同的是:
最新回复
(
0
)