Report Bug

QusWhich of the following is the correct way to define a two dimensional array? QusWhich of the following is the correct way to define a two dimensional array?


A. int a[ ][4];
B. int b[2, 4];
C. int c[2][ ];
D. int d[ ] [ 4] = {{1, 3, 5, 7}, {2, 4, 6, 8}};


Solution
D. int d[ ] [ 4] = {{1, 3, 5, 7}, {2, 4, 6, 8}};



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad