首页
外语
计算机
考研
公务员
职业资格
财经
工程
司法
医学
专升本
自考
实用职业技能
登录
计算机
下列程序段循环( )次。int x=-10;while(++x) {}
下列程序段循环( )次。int x=-10;while(++x) {}
admin
2013-02-27
16
问题
下列程序段循环( )次。int x=-10;while(++x) {}
选项
A、9
B、10
C、11
D、无限
答案
1
解析
转载请注明原文地址:https://kaotiyun.com/show/nvVp777K
本试题收录于:
二级C题库NCRE全国计算机二级分类
0
二级C
NCRE全国计算机二级
相关试题推荐
有以下程序 #include<stdio.h> int*fun() { staticinta[2]={0,1}; a[0]+=a[1]; a[1]+=a[0]; returna; } voidmain(
有以下程序 #include<stdio.h> main() {inta[3][3]3={0,1,2,3,4,5,6,7,8},(*p)[3],i; p=a; for(i=0;i<3;i++) {printf("%d",
有以下程序 #include<stdio.h> main() {inta[3][3]={{1,3,5,}, {7,9,11,}, {13,15,17}}; int(*p)[3]=a,i,j,n=0; f
以下程序拟调用getmax函数,找出四个变量中最大的一个,但程序不完整: #include<stdio.h> intgetmax(intx,inty) {returnx>yx:y;} voidmain() { inta,b,
若有定义:chars1[100]="name",s2[50]="address",s3[80]="person";,要将它们连接成新串:"personnameaddress",正确的函数调用语句是()。
给定程序中,已建立一个带有头结点的单向链表,链表中的各结点包含数据域(data)和指针域(next),数据域为整型。函数fun的作用是:找出链表各结点数据域中的最大值,其最大值由函数值返回。 请在程序的下划线处填入正确的内容并把下划线删除,使程序得出正确
以下说法正确的是()。
当+运算符被重载为友元函数时,友元运算符Obj1+obj2被C++编译器解释为______。
下面关于成员函数重载运算符和友元函数重载运算符相同的是()。
随机试题
仪表显示当前发动机转速是6000转/分钟。
A.少腹逐瘀汤B.生化汤C.清热调血汤D.大黄牡丹皮汤E.大柴胡汤患者产后寒热时作,恶露甚少,色紫暗,腹痛拒按。口干不欲饮。治疗应首选()
A.气管切开B.气管插管C.鼻饲给氧D.静脉切开或静脉穿刺插管E.静脉穿刺男,32岁,火焰烧伤全身3小时,烧伤总面积95%,其中Ⅲ度80%,伤后无尿,未行其他任何处理,首选治疗方案是上述哪项
A.白及B.白芍C.五灵脂D.贝母E.京大戟藜芦反()。
下列各项业务中,需要征收消费税的是()。
家里的白炽灯用久了会发黑,是因为()。
()认为,心理发展既不是起源于先天的成熟,也不是起源于后天的成熟,而是起源于主体的动作。
设A为三阶正交矩阵,且|A|<0,|B-A|=-4,则|E-ABT|=________.
下列描述中正确的是
TheLiYuchunphenomena,however,goesfarbeyondher【S1】______voice,whichevenifthemostenthusiasticfan
最新回复
(
0
)