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

题目内容 (请给出正确答案)
单选题
若有C语句int k=5;float x=1.2;,则表达式(int)(x+k) 的值是()
A

5

B

6.2

C

7

D

6


参考答案

参考解析
解析: 暂无解析
更多 “单选题若有C语句int k=5;float x=1.2;,则表达式(int)(x+k) 的值是()A 5B 6.2C 7D 6” 相关考题
考题 若有定义语句: int a=5; ,则表达式: a++ 的值是 【 6 】 。

考题 ( 6 )若有定义语句: int a=3,b=2,c=1;, 则表达式 ab?a:b 的值是 ___________ 。

考题 若有以下类型说明语句: char w;int x;float y, z; 则表达式w*x+z-y的结果为______类型。A.floatB.charC.intD.double

考题 若有定义: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 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 x=3,y=2,z=1;则表达式x <y?x:y的值是______。

考题 若有定义语句:“int a=10;double b=3.14;”,则表达式A+a+b值的类型是( )。A.charB.intC.doubleD.float

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

考题 若有定义: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 x=5,y=6;则表达式x=(y==6)的值为() A.5B.1C.6D.0

考题 若有定义:int x;则语句x=(2*3)+6%5;运行后,x的值是() A.8B.7C.6D.5

考题 若有定义: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

考题 若有定义:float x=1.5;int a=1,b=3,c=2;则正确的switch语句是( )。

考题 若有定义: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

考题 若有定义语句:“int x=10;”,则表达式x-=x+x的值为( )。 A.-20B.-l0C.0 若有定义语句:“int x=10;”,则表达式x-=x+x的值为( )。A.-20B.-l0C.0D.10

考题 试题14若有定义语句:int a=10; double b=3.14; , 则表达式‘A’+a +b值的类型是()A.charB.intC.doubleD.float

考题 若有说明:char w; int x; float y; double z; 则表达式w*x+y-z的值的数据类型是()。A、doubleB、charC、intD、float

考题 若有C语句int k=5;float x=1.2;,则表达式(int)(x+k) 的值是()A、5B、6.2C、7D、6

考题 若有定义:int x=5,y=6;则表达式x=(y==6)的值为()A、5B、1C、6D、0

考题 若有语句:int x=6,*p=x;则下面正确的表达式是()A、++xB、(*p)--C、(x+5)D、p=1000

考题 若有声明和语句: int a=5; a++; 则此处表达式a++的值是()A、7B、6C、5D、4

考题 若有定义: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 x;则语句x=(2*3)+6%5;运行后,x的值是()A 8B 7C 6D 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 x=6,*p=x;则下面正确的表达式是()A ++xB (*p)--C (x+5)D p=1000

考题 单选题若有说明:char w; int x; float y; double z; 则表达式w*x+y-z的值的数据类型是()。A doubleB charC intD float

考题 单选题若有定义:int x=5,y=6;则表达式x=(y==6)的值为()A 5B 1C 6D 0