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

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

以下数组定义中不正确的是______。

A.int a[2][3];

B.int b[][3]={0,1,2};

C.int c[100][100]={0};

D.int d[3][]={{1,2},{1,2,3},{1,2,3,4}};


参考答案

更多 “ 以下数组定义中不正确的是______。A.int a[2][3];B.int b[][3]={0,1,2};C.int c[100][100]={0};D.int d[3][]={{1,2},{1,2,3},{1,2,3,4}}; ” 相关考题
考题 以下数组定义中不正确的是______。A.inta[2][3];B.int b[][3]={0,1,2}C.int c[100][100]={0};D.int d[3][]={{1,2},{1,2,3},{1,2,3,4}};

考题 以下数组定义中不正确的是 ______。A.int a[2][3];B.int b[][3]={0,1,2};C.int c[100][100]{0};D.int d[3][]={{1,2},{1,2,3},{1,2,3,}};

考题 以下数组定义中不正确的是______。A.int a[2][3];B.int b[][3]={0,1,2};C.int c[100][100]={0};D.int d[3][]={{1,2},{1,2,3},{1,2,3,4}};

考题 以下数组定义中不正确的是_______。A.int a[2][3];B.int b[][3]={0,1,2};C.int c[100][100={0};D.int d[3][]={{1,2},{1,2,3},{1,2,3,4}};

考题 以下数组定义中不正确的,是______。A.int a[2][3];B.int b[][3]={0,1,2};C.int c[100][100]={0};D.int d[3][]={{1,2},{1,2,3},{1,2,3,4}};

考题 以下定义一维数组a正确的是?A.int[4] a=new int[4];B.int[4] a={1,2,3,4};C.int [] a=new int[4];D.int[] a=new int[4]{1,2,3,4};

考题 下列数组初始化语句哪些是正确的A.int[] nums = new int[]{0,1,2,3,4}B.int[] nums2 = {0,1,2,3,4,5}C.int[][] num_1 = {new int[]{0,1},new int[]{0,1,2},new int[]{0,1,2,3}}D.int[][] num_2 = {{0,1},{0,1,2},{0,1,2,3}}

考题 下列数组初始化语句哪些是正确的A.int[] nums = new int[]{0,1,2,3,4};B.int[] nums2 = {0,1,2,3,4,5};C.int[][] num_1 = {new int[]{0,1},new int[]{0,1,2},new int[]{0,1,2,3}};D.int[][] num_2 = {{0,1},{0,1,2},{0,1,2,3}};

考题 【多选题】下列数组初始化语句哪些是正确的?(2 分)A.int[] nums = new int[]{0,1,2,3,4};B.int[] nums2 = {0,1,2,3,4,5};C.int[][] num_1 = {new int[]{0,1},new int[]{0,1,2},new int[]{0,1,2,3}};D.int[][] num_2 = {{0,1},{0,1,2},{0,1,2,3}};