Contents

The extra key inserted at the end of the array is called……
a) end key                            
b) stop key
c) sentinel                            
d) none of these

c

What is the value of t[4], where int t[]={1,2,3,4}?
a) 0                                                        
b) 3
c) 4                                        
d) t[4] beyond the array

d

Which of the following correctly declares an array that has 3 rows and 5 columns?
a) double array [3], [5];                     
b) int array [3]([5])
c) array[3][5];    
d) array[3,5];

c

Which of the following correctly declares an array that has 10 rows and 5 columns?
a) double array [10], [5];   
b) int array [5][10];
c) array[10][5];  
d) array[10,5];

c

Which of the following are important actions while dealing with array?
a) accessing with array      
b) writing index in array
c) both a & b                       
d) none of these

c

What is the correct format accessing an array?
a) array name[index];      
b) name array[index];
c) array name{index};
d) all of these

a