An array having more than one subscripts is called…….
a) one dimensional array
b) two-dimensional array
c) multi-dimensional array
d) none of these
Which of the following array store data in rows
and columns?
a) one dimensional array
b) two-dimensional array
c) multi-dimensional array
d) none of these
Which of the following is the correct format for declaration of
two-dimensional array?
a) int x[3][5];
b) int x{3}{5}
c) int x(3)(5)
d) none of these
What is the correct format of float type array?
a) float array[2][2]
b) float tdArray[2][2]
c) array float [2][2]
d) all of these
How many indices required for two-dimensional array?
a) one
b) two
c) three
d) four
Explanation: one for row and other for column
Which of the following loops are used to access the elements of two-dimensional array?
a) decision structure
b) for loop
c) nested loop
d) all of these