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
Which of the following array is also called matrix in mathematics?
a) one dimensional array
b) two-dimensional array
c) multi-dimensional array
d) none of these
What is the general syntax for declaration of two-dimensional array?
a) datatype name [row size] [column size]
b) name datatype [row size] [column size]
c) datatype name {row size} {column size}
d) none of these
When does the Array Index out of Bounds Exception occur?
a) compile time
b) run time
c) not an error
d) none of these
How many loops are required to traverse two-dimensional array?
a) one loop
b) multiple loops
c) two loop
d) three loops