网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)

若有定义:int b=7;floata=2.5,c=4.7;则表达式a+(b/2*(int)(a+c)/2)%4的值是()

  • A、2.5
  • B、3.5
  • C、4.5
  • D、5.5

参考答案

更多 “若有定义:int b=7;floata=2.5,c=4.7;则表达式a+(b/2*(int)(a+c)/2)%4的值是()A、2.5B、3.5C、4.5D、5.5” 相关考题
考题 ( 6 )若有定义语句: int a=3,b=2,c=1;, 则表达式 ab?a:b 的值是 ___________ 。

考题 若有定义:int a=4,b=5;float x=3.4,y=2.1;,则下列表达式的值为( )(float) (a+b)/2+(int)×%(int)yA.5.5B.55C.5.500000D.55.00000

考题 若有定义语句int b=2;,则表达式(b 若有定义语句int b=2;,则表达式(bA.4B.8C.0D.2

考题 若有定义:int a=7;float x=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是A.2.500000B.2.750000C.3.500000D.0.000000

考题 若有定义int a=2;则执行完语句a+=a-=a*a;后,a的值是( )。A.0B.4C.8D.-4

考题 设有定义语句:double x=2.5, y=4.7;int a=7;那么表达式x+a%3*(int)(x+ y)%2/4的值为【 】。

考题 若有定义: int a=7;float x=2.5,y=4.7;则表达式x+a%3,(int)(x+y)%2/4的值是( )。A.2.5B.2.75C.3.5D.0

考题 设x=2.5、a=7、y=4.7,算术表达式x+a%3 * (int)(x+y)%2/4的值为 ( )A.2.5B.7C.4.7D.2.75

考题 若有定义:inta=7;floatx=2.5,y=4.7;则表达式x+a%3*(int)(x+y)%2/4的值是()。A.2.500000B.2.7500OOC.3.500000D.0.000000

考题 已知有double型变量x=2.5,y=4.7,整型变量a=7,则表达式x+a%3*(int)(x+y)%2/4的值是()。A.2.4B.2.5C.2.75D.0

考题 若有定义intx=3,y=2和floata=2.5,b=3.5,则表达式:(x+y)%2+(int)a/(int)b的值是()。A.0B.2C.1.5D.1

考题 若有定义语句int b=2;,则表达式(b2)/(3||b)的值是( )。A.4B.8C.0D.2

考题 若有定义:int x=1,y=2;float a=3.7,b=2.1;则(x+y)%2+(int)a/(int)b表达式的值为( )。

考题 若有定义“int a=5,b=7;”,则表达式a%-(b%2) 运算后,a的值为( )。A.0B.1C.11S 若有定义“int a=5,b=7;”,则表达式a%-(b%2) 运算后,a的值为( )。A.0B.1C.11D.3

考题 若有定义:int b=7;floata=2.5,c=4.7;则表达式a+(b/2*(int)(a+c)/2)%4的值是() A.2.5B.3.5C.4.5D.5.5

考题 若有定义:int a=2,b=3;floatx=3.5,y=2.5;则表达式(float)(a+b)/2+(int)x%(int)y的值是() A.3.5B.3.0C.2.5D.2.0

考题 若有定义:int a,b;则表达式(a=2,b=5,a*2,b++,a+b)的值是() A.7B.8C.9D.10

考题 若有定义:int a=4, b=5;float x=3.4,y=2.1;,则下列表达式的值为( )。 (float) (a+b)/2+(int)x%(int)yA.5.5B.55C.5.5D.55

考题 若有定义:“int a=4,b=5;float x=3.4,y=2.1;”,则下列表达式的值为( )。 (float)(a+b)/2+(int)x%(int)y;A.5.5B.55C.5.500000D.55.00000

考题 若有定义:int a=2,b=3;float x=3.5,y=2.5;则下面表达式的值为______。(float)(a+b)/2+(int)x%(int)yA.3.5B.35C.3.5D.35

考题 设a和b均为double型变量,且a=5.5、b=2.5,则表达式(int)a+ b/b的值是A.6.5B.6C.5.5D.6

考题 若有定义语句:int a=3,b=2,c=1;,则表达式a<b?a:b的值是【 】。

考题 若有定义:int a,b;则表达式(a=2,b=5,a*2,b++,a+b)的值是()A、7B、8C、9D、10

考题 若有定义:int a=2,b=3;floatx=3.5,y=2.5;则表达式(float)(a+b)/2+(int)x%(int)y的值是()A、3.5B、3.0C、2.5D、2.0

考题 单选题若有定义:int a=2,b=3;floatx=3.5,y=2.5;则表达式(float)(a+b)/2+(int)x%(int)y的值是()A 3.5B 3.0C 2.5D 2.0

考题 单选题若有定义:int b=7;floata=2.5,c=4.7;则表达式a+(b/2*(int)(a+c)/2)%4的值是()A 2.5B 3.5C 4.5D 5.5

考题 单选题若有定义语句 int b=2; 则表达式(b2)/(3‖b)的值是(  )。A 4B 8C 0D 2