【单选题】【消耗次数:1】
c的值为()。
221
342
484
442
参考答案:
复制
纠错
相关题目
【单选题】 inta=1,b=2,c=3; if(a>b)a=b; if(a>c)a=c; 则a的值为().
①  1
②  2
③  3
④  不一定
【单选题】 若a的值为3时,下列程序段被执行后,c的值是多少?( ) if ( a>0 ) if ( a>3 ) c = 2; else c = 3; else c = 4;
①  1
②  2
③  3
④  4
【单选题】 执行以下语句后a的值为( )。 Int a,b,c; a=b=c=1; ++a||++b++c
①  01
②  0
③  2
④  1
【单选题】 若有语句char c1=`d`,c2=`g`;printf(“%c,%d\n”,c2-`a`,c2-c1);则输出结果为:()(a的ASCII码值为97)
①  M、2
②  G、3
③  G、2
④  D、g
【单选题】 若已定义:int a=5,b=9,c=6;则语句b++;++c;a=b-c;运行后a的值为()。
①  5
②  3
③  2
④  4
【单选题】 若已定义:inta=5,b=9,c=6;则语句b++;++c;a=b-c;运行后a的值为()。
①  5
②  3
③  2
④  4
【单选题】 若定义inta=-5,b=-8,c=-12;则表达式a=b||bc的值为()。
①  变量i的值
②  变量j的值
③  0
④  1
【单选题】 已知字母A的ASCII码为十进制数65,且c2为字符型,则执行语句c2=’A’+’6’-’2’;后,c2中的值为()
①  69
②  C
③  D
④  E
【判断题】 <img src=https://huaweicloudobs.ahjxjy.cn/4BA59C2E5C555BC484C991D835C4D9E6.png title=5.png alt=5.png/>
①  正确
②  错误
【单选题】 <img src=https://huaweicloudobs.ahjxjy.cn/FD81B5A484C2B1E4297338DA0C6C50D9.png title=7.png alt=7.png/>
①  <img src=https://huaweicloudobs.ahjxjy.cn/A01AD9ED64F117895882D4DC16651DAA.png title=7-1.png alt=7-1.png/>
②  <img src=https://huaweicloudobs.ahjxjy.cn/62F694E2D2855C3AF4EF47B968258F56.png title=7-2.png alt=7-2.png/>
③  <img src=https://huaweicloudobs.ahjxjy.cn/63FA91CA02E0D388EFB1701804EE8A66.png title=7-3.png alt=7-3.png/>
④  <img src=https://huaweicloudobs.ahjxjy.cn/72F8BCACDE6C4B23C7ED3977BA5E8733.png title=7-4.png alt=7-4.png/>
随机题目
【单选题】 8. The Labour Party ______ that the government give an explanation.
①  asked
②  demanded
③  told
④  said
【单选题】 2. He was _______ manager of the office.
①  appointed
②  objected
③  ensured
④  promoted
【单选题】 25. I can’t go—for one thing, I have no money, and ___, I have too much work.
①  what’s more 
②  as well 
③  for another 
④  in addition
【单选题】 14. Don’t turn the lights on, _______you ?
①  won’t
②  can
③  will
④  . do
【单选题】 18.He held a sword in one hand and a pistol in_____.
①  another
②  other
③  others
④  the other
【单选题】 13.Take a rest, ______you?.
①  will
②  shall
③  do
④  . should
【单选题】 29. _______ for the fact that she broke her leg, she might have passed the exam.
①  Had it not been
②  Hadn’t it been  
③  Was it not
④  Were it not
【单选题】 16.One man’s meat is _____ man’s poison.
①  the other
②  any
③  all
④  another
【单选题】 27.She did her work _________her manager had instructed.
①  as
②  until
③  when
④  though
【单选题】 28.Fool ____ Jane is, she could not have done such a thing.
①  who
②  as
③  that
④  like