【单选题】【消耗次数:1】
若已定义:inta=5,b=9,c=6;则语句b++;++c;a=b-c;运行后a的值为()。
5
3
2
4
参考答案:
复制
纠错
相关题目
【单选题】 若已定义:int a=5,b=9,c=6;则语句b++;++c;a=b-c;运行后a的值为()。
①  5
②  3
③  2
④  4
【单选题】 若已定义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; if(a>b)a=b; if(a>c)a=c; 则a的值为().
①  1
②  2
③  3
④  不一定
【单选题】 若定义inta=-5,b=-8,c=-12;则表达式a=b||bc的值为()。
①  变量i的值
②  变量j的值
③  0
④  1
【单选题】 设:inta=1,b=2,c=3,d=4,m=2,n=2;执行(m=a>b)&&(n=c>d)后n的值为()。
①  1
②  2
③  3
④  4
【单选题】 若有定义:inta=5,b=2;则表达式b=(a!=5)的值为()。
①  5
②  0
③  3
④  2
【单选题】 设a=5,b=6,c=7,d=8,则执行下列语句后,x的值为:______。 x= IIF((a>b) And (c<d),10,20)
①  300
②  20
③  30
④  10
【单选题】 执行以下语句后a的值为( )。 Int a,b,c; a=b=c=1; ++a||++b++c
①  01
②  0
③  2
④  1
【单选题】 执行以下语句后b的值为( )。 Int a=5,b=6,w=1,x=2,y=3,z=4; (a=wx)(b=y
①  6
②  0
③  1
④  4
随机题目
【单选题】 Whenwespeaktopeople,weshouldbe_______.
①  aspoliteaspossible
②  aspoliteaspossibly
③  aspolitelyaspossible
④  aspolitelyaspossibly
【单选题】 When he came to,he found himself________on a chair,with his hands________back.
①  to sit;tying
②  sitting;tying
③  seating;tied
④  seated;tied
【单选题】 Where is my pen? I________it.
①  might lose
②  would have lost
③  should have lost
④  must have lost
【单选题】 I will ________here till you give me some money.
①  leave
②  not leave
③  come
④  return
【单选题】 The thief fell to the ground,his left foot________and blood________down from his mouth.
①  breaking;running
②  broken;running
③  breaking;run
④  broken;run
【单选题】 Ithinkscienceis________anJapanese.
①  muchimportant
②  important
③  muchmoreimportant
④  moremuchimportant
【单选题】 -Whats your brother like? -He is________ .
①  adriver
②  very tall
③  myfriend
④  atschool
【单选题】 Now Mike isn’t here. He _______ Mr. Green’s. Perhaps he _______back in a few minutes.
①  went to ; is coming
②  has gone to ; will come
③  has been to ; will be
④  is going to ; has come
【单选题】 I went to the doctors yesterday. I had to wait for half an hour before he________see me.
①  can
②  may
③  might
④  could
【单选题】 Hisfatherbegantowork_______hewassevenyearsold.
①  asold as
②  asearlyas
③  assoonas
④  asmuchas