Contents

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

b

How many indices required for two-dimensional array?
a) one                                    
b) two
c) three                                  
d) four

b

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

c

Which of the following array resembles a table?
a) one dimensional array                                  
b) two-dimensional array
c) multi-dimensional array                               
d) none of these

b

Each element in a two-dimensional array is identified by a unique combination of
a) two subscript  
b) one subscript
c) three subscript 
d) zero subscript

a