【单选题】【消耗次数:1】
在32位处理器上,有如下的结构定义:structfoo{chara[8];intc;longd;shortb;};表达式&(((structfoo*)0)->b)的值为:()
0
3
16
不确定
参考答案:
复制
纠错
相关题目
【单选题】 若有定义:inta;且表达式!a的值为0,则表达式()的值为1。
①  a!=0
②  a==0
③  a=0
④  !(a0||a0)
【单选题】 表达式(12==0) && (1/0 < 1)的值为( ) 。
①  true
②  false
③  0
④  运行时抛出异常
【单选题】 若定义inta=-5,b=-8,c=-12;则表达式a=b||bc的值为()。
①  变量i的值
②  变量j的值
③  0
④  1
【单选题】 设a,b和c都是int型变量,且a=3,b=4,c=5,则下面表达式中,值为0的表达式是( )
①  ’a’’b’
②  a=b
③  a||b+cb-c
④  !((a
⑤  !c||1)
【单选题】 若有a=2,b=3,则表达式++a==b的值为()
①  0
②  1
③  6
④  3
【单选题】 表达式16/4-2^3*8/4Mod5\2的值为()。
①  2
②  14
③  20
④  4
【单选题】 若有定义:inta=5,b=2;则表达式b=(a!=5)的值为()。
①  5
②  0
③  3
④  2
【单选题】 逻辑表达式(x0 x=10)的相反表达式为?
①  x=0|| x=10
②  x=0 x=10
③  x=0 || x=10
④  x0 x10
【单选题】 有如下定义:longm;charc;floatx;doubley;则表达式cm*x/y的值的类型是()
①  long
②  char
③  float
④  double
【单选题】 for(表达式1;;表达式3)可理解为____。
①  for(表达式1;0;表达式3)
②  for(表达式1; 表达式1;表达式3)
③  for(表达式1; 表达式3;表达式3)
④  for(表达式1;1;表达式3)
随机题目
【单选题】 They invited the three of ____, Bob, Joe, and ____.
①  us…me
②  we… we
③  us…I
④  we…I
【单选题】 His explanation is not at all clear. I find it ____.
①  essential
②  confusing
③  awful
④  puzzled
【单选题】 Things never went _____ as we had expected
①  so smoothly
②  smooth
③  so smooth
④  smoothly
【单选题】 Everyone of them _______ tired and wanted a good rest.
①  seems
②  is seemed
③  was seemed
④  seemed
【单选题】 Peter: How about going to the movies tonight then?Mary: ____
①  I don’t know.
②  The movie is very interesting.
③  That sounds good.
④  The movie is very boring.
【单选题】 John was going to _______ Mary by telling his friends how much weight she had gained.
①  essential
②  embarrass
③  elementary
④  consider
【单选题】 The classroom is quite clean ____ some waste paper on the floor.
①  without
②  besides
③  except
④  except for
【单选题】 -- What day is today?-- Today is ______ .
①  March 25th
②  Saturday
③  fine
④  cold
【单选题】 All the men were under heavy____ working day and night
①  prize
②  rain
③  pressure
④  reward
【单选题】 —I’ve got an offer in New York. —Oh, ____! But I’m going to miss you.
①  That’s too bad
②  I’m sorry
③  I beg your pardon
④  That’s great