【单选题】【消耗次数:1】
设有说明:char w;int x;float y;double z;则表达式w*x+z-y 值的数据类型为().
float
char
int
double
参考答案:
复制
纠错
相关题目
【单选题】 设x为float型变量,y为double型变量,a为int型变量,b为long型变量, c为char型变量,则表达式x+y*a/x+b/y+c的值为( )类型。
①  int
②  long
③  double
④  char
【单选题】 数据类型int,char,float,double的类型长度之和为( )。
①  10
②  12
③  16
④  17
【单选题】 数据类型int,char,float,double的类型长度之和为( )。
①  10
②  12
③  16
④  17
【单选题】 若w=1,x=2,y=3,z=4,则表达式w<x?w:y<z?y:z的值是()
①  4
②  3
③  2
④  1
【单选题】 若w,x,y,z,m均为int型变量,则执行下面语句后的m值是:w=1;x=2;y=3;z=4;m=w<y)?w:x;m=m<y)?m:y;m=m<z)?m:Z;
①  1
②  2
③  3
④  4
【单选题】 若有定义:int m=7;float x=2.5, y=4.7;则表达式x+m%3*(int)(x+y)%2/4的值是( )。
①  2.500000
②  2.750000
③  3.500000
④  0.000000
【单选题】 已知x=45,y'=a',z=0;则表达式(x>=z&&y'<z'||!y)的值是()。
①  0
②  语法错
③  1
④ 
【单选题】 设有定义:char a;int b;float c,double d;执行语句:c=a+b+c+d;后,变量c 的数据类()。
①  int
②  char
③  float
④  double
【单选题】 若已定义x和y为double类型,则表达式x=1,y=x+3/2的值是
①  1
②  2
③  2.0
④  2.5
【单选题】 设 x = 1 , y = 2 , z = 3,则表达式 y+=z--/++x 的值是( )。
①  3
②  3. 5
③  4
④  5
随机题目
【单选题】 ____ gostraightontouniversity,whynotgetsomeworkexperiencefirst?
①  Better than
②  Other than
③  More than
④  Rather than
【单选题】 If we work with a strong will, we can overcome any difficulty, ____ great it is.
①  what
②  how
③  however
④  whatever
【单选题】 The great noise produced by the machine will sooner or later do ____ to the workers’ hearing.
①  damage
②  help
③  wrong
④  harm
【单选题】 The seller gave men a thirty percent ____on the shirt. Don’t you think it’s a good bargain?
①  discount
②  treatment
③  decrease
④  favor
【单选题】 It is a waste of time ____with such a silly fellow.
①  trying to reason
②  tried to reason
③  for trying to reason
④  to trying reasoning
【单选题】 We once heard Bill Gates say in an interview that to become truly successful in business, one has to be prepared to ____ risks.
①  get
②  take
③  do
④  have
【单选题】 8. ____ I realized the consequences, I would never have contemplated getting involved..
①  Had
②  If
③  When
④  Unless
【单选题】 15. If you want to change for a blue shirt, youll have to pay ____ $ 10.
①  another
②  other
③  more
④  each
【单选题】 “If she could sew, she____ herself a shirt.”
①  would have made
②  will make
③  had made
④  made
【单选题】 30. -May I borrow these three magazines? -____. You may keep them for two weeks.
①  Of course not
②  By all means
③  I’m afraid not
④  It’s up to you