单项选择题
以下数组定义中错误的是
A.int x[ ][3]={0};
B.int x[2][3]={{1,2},{3,4},{5,6}};
C.int x[ ][3]={{1,2,3},{4,5,6}};
D.int x[2][3]={1,2,3,4,5,6};
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
若有定义:int a[2][3];,以下选项中对a数组元素正确引用的是
A.a[2][!1]
B.a[2][3]
C.a[0][3]
D.a[1>2][!1]
点击查看答案&解析
单项选择题
有以下程序段int j;float y;char name[50];scanf( %2d%f%s ,&j,&y,name);当执行上述程序段,从键盘上输入55566 7777abe后,y的值为
A.55566.0
B.566.0
C.7777.0
D.566777.0
点击查看答案&解析
相关试题
有下面程序段 #include stdio.h #inc...
有以下程序 #include <stdio.h> voi...
有以下程序 #include <stdio.h> int...
有以下程序 #include <stdio.h> voi...
有以下程序 #include <stdio.h> #i...