首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列程序的输出结果是______。struct st{ int x;int*y;}*p; int dt[4]={ 10,20,30,40 }; struct st aa[4]={50,&dt[0],60,&dt[0],60,&dr[0],60,
下列程序的输出结果是______。struct st{ int x;int*y;}*p; int dt[4]={ 10,20,30,40 }; struct st aa[4]={50,&dt[0],60,&dt[0],60,&dr[0],60,
admin
2009-02-15
19
问题
下列程序的输出结果是______。struct st{ int x;int*y;}*p; int dt[4]={ 10,20,30,40 }; struct st aa[4]={50,&dt[0],60,&dt[0],60,&dr[0],60,&dr[0],} main(){ p=aa; printf("%d\n",++(p->x));}
选项
A、51
B、11
C、10
D、60
答案
1
解析
转载请注明原文地址:https://jikaoti.com/ti/WPK0FFFM
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
编写如下程序:PrivateSubCommandl—Click()DimaAsInteger,bAsIntegera=3b=2Ifa*b<10Thenb=b+1Elseb=b—lPrintb—a>0EndSub
有以下程序段,单击Command1按钮后,屏幕上的输出结果是()。PrivateSubCommand1_Click()Fori=6T09PrintTab(i*i),iNextiEnd
支持子程序调用的数据结构是
在窗体上画一个文本框,其名称为Text1,为了在程序运行后隐藏该文本框,应使用的语句为
编写如下程序:PrivateSubCommand1_Click()DimnumAsInteger,kAsInteger,nAsIntegersum=InputBox("请输入一个正整数:")k=su
在窗体上画一个文本框(名称为Text1)和一个标签(名称为Label1),程序运行后,在文本框中每输入一个字符,都会立即在标签中显示文本框中字符的个数。以下可以实现上述操作的事件过程是
在E盘当前目录文件夹下建立一个名为“Student.txt”的随机文件,要求用InputBox函数输入5个学生的姓名(StuName)、年级(StuGrade)和年龄(StuAge)。在程序中有以下记录类型和窗体的事件过程,请选择正确的语句完成程序(
编写如下程序:PfivmeSubCommand1_Click()DimnAsLong,SAsStringn=InputBox(”输入一个数”)DoWhilen0s=S&nMod10
随机试题
右肺分上、下两叶,左肺分上、中、下三叶。
流传至今的《尔雅注》的作者是()。
云南的甲厂与广西的乙商场于2011年6月订立奶粉买卖合同,约定7月25日由甲厂在广西的火车站交货。7月14日由于南方洪水灾害,交通暂时中断,甲厂未将此情势通知乙商场,乙商场亦未查询。8月1日交通恢复后,甲厂立即装运,8月9日运抵广西的火车站,甲厂押运人通知
我国是世界上生物种类最丰富的国家之一,高等植物和野生动物物种均占世界10%左右。然而,环境污染和生态破坏导致了动植物生存环境的破坏,物种数量急剧减少,有的物种已经灭绝。据统计,近50年约有200种高等植物灭绝,平均每年灭绝4种;野生动物中约有400种处于濒
在美洲某个国家,希望戒烟的人使用一种尼古丁皮肤贴,它可释放小剂量的尼古丁透过皮肤。从下个月开始,人们可以不用医生处方购买这种皮肤贴,尽管非处方购买的皮肤贴并不比使用处方购买的皮肤贴更有效,而且二者价格同样昂贵,但是皮肤贴制造商预计非处方购买的皮肤贴将令近年
VFP中类层次可分两类,分别为【】和【】。
打开考生文件夹下的演示文稿yswg.pptx,按照下列要求完成对此文稿的修饰并保存。使用“模块”主题修饰全文,全部幻灯片切换方案为“旋转”,效果选项为“自顶部”。
Alandfreefromdestruction,pluswealth,naturalresources,andlaborsupplyallthesewereimportant【21】______inhelpin
Readthearticlebelowabouttheroleofexecutiverecruitmentagencies.Choosethebestsentencefromtheoppositepagetofil
Sofar,inflationisroaringinonlyafewsectorsoftheeconomy.Whileplatinumhassoared121percent,soybeanshaverisen11
最新回复
(
0
)