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

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

6、若有以下定义语句,则表达式“x[1][1]*x[2][2]”的值是()。 float x[3][3]={{1.0,2.0,3.0},{4.0,5.0,6.0}};

A.0.0

B.4.0

C.5.0

D.6.0


参考答案和解析
0.0
更多 “6、若有以下定义语句,则表达式“x[1][1]*x[2][2]”的值是()。 float x[3][3]={{1.0,2.0,3.0},{4.0,5.0,6.0}};A.0.0B.4.0C.5.0D.6.0” 相关考题
考题 ( 6 )若有定义语句: int a=3,b=2,c=1;, 则表达式 ab?a:b 的值是 ___________ 。

考题 若有定义: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 x=3;,以下表达式中,值不为l2的是( )。A.x*=x+1B.x++,3*xC.x*=(1+x)D.2*x.x+=6

考题 若有定义float X=1.5;int a=1,b=3,C=2;,则正确的switch语句是( )。A.B.C.D.

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

考题 若有如下定义: int x=6,y=3,z=2; 则表达式x=y||y<zz==z的值是( )。A.0B.1C.4D.6

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

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

考题 若有定义:float x=3.5,intz=8;则表达式x+z%3/4的值为() A.3.75B.3.5C.3D.4

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

考题 若有定义:int x=2,y=3;float i;则以下符合C语言语法的表达式是() A.x=x*3=2B.x=(y==1)C.i=float(x)D.i%(-3)

考题 若有定义: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=3,y=2,z=1;,表达式:2*=(x>y?++x:y+)的值是A.4B.0C.1D.3

考题 经过以下语句定义后,表达式z+=x>y?++x:++y的值是______。int x=1,y=2,z=3;A.2B.3C.6D.5

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

考题 若有定义:int x=2,y=3;float i;则以下符合C语言语法的表达式是()A、x=x*3=2B、x=(y==1)C、i=float(x)D、i%(-3)

考题 若有定义 class A{int x,y; static float f(int a){…} float g(int x1,int x2){…}} 及A a1=new A( );则下列用法中非法的是( )。A、g(3,2)B、f(3)C、a1.f(4)D、a1.g(2,5)

考题 若已定义x和y为float类型,则表达式:x=1,y=x+3/2的值是()。A、1B、3C、2.5D、2.0

考题 经过以下语句定义后,表达式z+=xy?++x:++y的值为(). int x=1,y=2,z=3;A、2B、3C、6D、5

考题 若有x=1,y=2,z=3,则表达式(x

考题 若有定义:float x=3.5,intz=8;则表达式x+z%3/4的值为()A、3.75B、3.5C、3D、4

考题 单选题若有定义 class A{int x,y; static float f(int a){…} float g(int x1,int x2){…}} 及A a1=new A( );则下列用法中非法的是( )。A g(3,2)B f(3)C a1.f(4)D a1.g(2,5)

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

考题 单选题若有定义:int x=2,y=3;float i;则以下符合C语言语法的表达式是()A x=x*3=2B x=(y==1)C i=float(x)D i%(-3)

考题 单选题若有定义:float x=3.5,intz=8;则表达式x+z%3/4的值为()A 3.75B 3.5C 3D 4

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