首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
以下程序的输出结果是 #include<stdio.h> struct st i int x;int *y;}*p; int dt[4]={10,20,30,40}; struct st aa[4]={50,&dt[0],60
以下程序的输出结果是 #include<stdio.h> struct st i int x;int *y;}*p; int dt[4]={10,20,30,40}; struct st aa[4]={50,&dt[0],60
admin
2010-12-10
21
问题
以下程序的输出结果是 #include<stdio.h> struct st i int x;int *y;}*p; int dt[4]={10,20,30,40}; struct st aa[4]={50,&dt[0],60,&dt[0],60,&it[0],60,&dt[0],}; main() { p=aa; printf("%d\n",++(p->x));}
选项
A、10
B、11
C、51
D、60
答案
C
解析
转载请注明原文地址:https://kaotiyun.com/show/PHPp777K
本试题收录于:
二级C语言题库NCRE全国计算机二级分类
0
二级C语言
NCRE全国计算机二级
相关试题推荐
下列排序方法中,最坏情况下时间复杂度(即比较次数)低于O(n2)的是()。
设有如下程序:OptionBase1Dima(3,4)AsInteger,b(4,3)AsIntegerPrivateSubCommand1—Click()循环1Fori=1To3
在过程定义中,Private表示()。
设“A=“87654321”“,则表达式Val(Left(A,4)+Mid(A,4,2))的值为()。
在考生文件夹下有一个工程文件sjt3.vbp,相应的窗体文件为sjt3.frm。其功能是随机产生20个0~1000的整数,放入一个数组中,然后输出这20个整数中小于500的所有整数之和。程序运行后,单击命令按钮(名称为Command1,标题为“输出小于50
某二叉树共有399个结点,其中有199个度为2的结点,则该二叉树中的叶子结点数为()。
一个算法应该具有“确定性”等5个特性,下面对另外4个特性的描述中错误的是
算法的基本特征是可行性、确定性、【】和拥有足够的情报。
在一个容量为32的循环队列中,若头指针front=3,尾指针rear=2,则该循环队列中共有______个元素。
随机试题
预测某企业未来收益,其中前5年分别为120万元、125万元、128万元、120万元和130万元,从第6年开始,企业收益将基本保持在120万元的水平上,已知折现率、资本化率同为10%。求该企业的整体资产评估值。
下述哪一项与系统性红斑狼疮诊断有关
我方以CFR贸易术语与B国的H公司订立成交一批消毒碗柜的出口合同,合同规定装运时间为4月15日前。我方备妥货物,并于4月8日中午装船完毕,由于遇星期日休息,我方的业务员未及时向买方发出装运通知,导致买方未能及时办理投保手续,而货物在4月8日晚因发生了火灾被
Therequirementsforhighschoolgraduationhavejustchangedinmycommunity.Asaresult,allstudentsmust【C1】______sixtyhou
WhohastherealpowerintheBritishgovernment?
通报适用于()。
串的长度是
果
Howmanypeopleliveincitiesnow?
They______afootballmatchatfouro’clockyesterdayafternoon.
最新回复
(
0
)