【单选题】【消耗次数:1】
inta=1,b=2,c=3; if(a>b)a=b; if(a>c)a=c; 则a的值为().
1
2
3
不一定
参考答案:
复制
纠错
相关题目
【单选题】 若已定义inta=3,b=2,c=1;则语句++a||++b++c;运行后b的值为()。
①  0
②  3
③  1
④  2
【单选题】 若已定义inta=3,b=2,c=1;则语句++a||++b&&++c;运行后b的值为()。
①  0
②  3
③  1
④  2
【单选题】 设:inta=1,b=2,c=3,d=4,m=2,n=2;执行(m=a>b)&&(n=c>d)后n的值为()。
①  1
②  2
③  3
④  4
【单选题】 若有定义:inta=3,b=2,c=1,k;则表达式k=ac的值是()。
①  0
②  1
③  2
④  3
【单选题】 若有定义:int a=3,b=2,c=1;并有表达式:①a%b,②a>b>c,③b&&c+1,④c+=1,则表达式值相等的是()。
①  ①和②
②  ②和③
③  ①和③
④  ③和④
【单选题】 设a=1,b=2,c=3,d=4,则表达式:a>b?a:c>d?a:d的结果为()
①  4
②  3
③  2
④  1
【单选题】 若已定义:inta=5,b=9,c=6;则语句b++;++c;a=b-c;运行后a的值为()。
①  5
②  3
③  2
④  4
【单选题】 在Excel操作中,假设A1,B1,C1,D1单元分别为2,3,7,3,则SUM(A1:C1)/Dl的值为( )。
①  15
②  18
③  3
④  4
【单选题】 在Excel操作中,假设A1,B1,C1,D1单元分别为2,3,7,3,则SUM(A1:C1)/Dl的值为( )。
①  15
②  18
③  3
④  4
【单选题】 执行以下语句后a的值为( )。 Int a,b,c; a=b=c=1; ++a||++b++c
①  01
②  0
③  2
④  1
随机题目
【单选题】 It wasnt actually ______ expensive as you think.
①  those
②  these
③  that
④  this
【单选题】 Theresearchissodesignedthatonce______nothingcanbedonetochangeit.
①  begins
②  having begun
③  beginning
④  begun
【单选题】 Many a man______ the interest novel.
①  are read
②  is read
③  have read
④  has read
【单选题】 Borishasbrains.Infact,Idoubtwhetheranyoneintheclasshas_______IQ.
①  a high
②  a higher
③  the higher
④  the highest
【单选题】 —WhatdoyouthinkmadeMarysoupset?—______herbicycle.
①  As she lost
②  Lost
③  Losing
④  Because of losing
【单选题】 Hehasspentallhislifeworkingwithmentally______people.
①  disabled
②  discussed
③  naked
④  abolished
【单选题】 Doctors have said that as many as 50% of patients dont take medicine ______.
①  like directed
②  to be directed
③  as directed
④  so that directed
【单选题】 After filling out this form, please dont forget to______ your name.
①  sign
②  sigh
③  scribble
④  jot
【单选题】 —Why didnt you come to join her party?—I______, but I had to deal with something urgent.
①  would have
②  should
③  would do
④  was going to have
【单选题】 They couldn’t ______ to fly out to see us, and we couldnt either. We were all poor then.
①  offer
②  afford
③  provide
④  supply