【单选题】【消耗次数:1】
若有a=2,b=3,则表达式++a==b的值为()
0
1
6
3
参考答案:
复制
纠错
相关题目
【单选题】 若有int b[4]={0,1,2,3},*p则数值不为3的表达式是:()
①  p=s+2,*(p++)
②  p=s+3,*p++
③  p=s+2,*(++p)
④  s[3]
【单选题】 若有定义: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,则表达式值相等的是()。
①  ①和②
②  ②和③
③  ①和③
④  ③和④
【单选题】 若有定义:inta=5,b=2;则表达式b=(a!=5)的值为()。
①  5
②  0
③  3
④  2
【单选题】 若有定义:inta[3][4];则表达式a[2][1]-a的值为()。
①  7
②  8
③  9
④  10
【单选题】 若有定义:int a[3][4];则表达式&a[2][1]-a的值为()。
①  7
②  8
③  9
④  10
【单选题】 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
①  a!=0
②  a==0
③  a=0
④  !(a0||a0)
【单选题】 已知inta=2,b=5;则表达式a+5>b+3的值是
①  0
②  1
③  不确定
④  表达式错误
【单选题】 如果int a=3,b=4;则条件表达式“a<b? a:b”的值是()。
①  3
②  4
③  0
④  1
【单选题】 设a=1,b=2,c=3,d=4,则表达式:a>b?a:c>d?a:d的结果为()
①  4
②  3
③  2
④  1
随机题目
【单选题】 17. Pay attention please! ____ of you want to attend the party?
①  Who
②  Which
③  Whom
④  What
【单选题】 16.- ______ do you like the new play? - It’s good and interesting.
①  How
②  Which
③  What
④  Whom
【单选题】 18.- ______ did you sleep last night? - I stay up too late to go to sleep.
①  How
②  When
③  Why
④  Where
【单选题】 2. ______ he ______ I am a doctor.
①  Both; and
②  Either; nor
③  Neither; nor
④  Neither; and
【单选题】 4.One more week, ______ we will finish the task.
①  or
②  so that
③  and
④  if
【单选题】 8.He______ coffee at all. He ______ tea.
①  doesn’t like; prefers
②  likes; doesn’t prefer
③  would like; not prefers
④  prefers; is not fond of
【单选题】 5.The ground must be just right, _____ too wet _____ too dry.
①  either;or
②  both; and
③  between; and
④  neither; nor
【单选题】 20.______ she sings!
①  What beautiful
②  How beautiful
③  What beautifully
④  How beautifully
【单选题】 7.Sorry, there’s only one seat left. ______ you _____ she can have it.
①  Neither; nor
②  Either; or
③  Both; and
④  Not; but
【单选题】 9.We _______ happy about the price of meat.
①  dont
②  are not
③  wont
④  werent being