Contents

What is the initial index used for array?
a) 0                   
b) 1        
c) both a & b

a

What is the correct format for array initialization?
a) int A [5] = {1,2,3,4,5};
b) int A [5] = [1,2,3,4,5];
c) int A [5] = (1,2,3,4,5)     
d) all of these

a

Assuming int is of 4bytes, what is the size of int arr[15]?
a) 15      
b) 60                      
c) 19                      
d) 30

b

Elements in an array are accessed …….
a) randomly                        
b) sequentially
c) exponentially  
d) all of these

a

The smallest element of an array's index is called….
a) upper bound   
b) lower bound
c) range                                 
d) all of these

b

The largest element of an array's index is called….
a) upper bound   
b) lower bound
c) range                                 
d) all of these

a