网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
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” 相关考题
考题
若有定义: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,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;float x=3.5,y=2.5;则下面表达式的值为______。(float)(a+b)/2+(int)x%(int)yA.3.5B.35C.3.5D.35
考题
若有定义 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)
考题
单选题若有定义 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)
考题
单选题若有定义:float x=1.5;
int a=1,b=3,c=2;
则正确的switch语句是( )。
热门标签
最新试卷