Contents

Which of the following is used to access specific element in array?
a) dot operator                    
b) index
c) member name
d) none of these

b

Which of the following is used to access specific element in array?
a) dot operator                    
b) index
c) member name
d) none of these

b

What is the index of first element of array?
a) 0                        
b) 2                        
c) 4                        
d) 1

a

What is the representation of third element in array?
a) n[2]   
b) n[3]   
c) n[1]   
d) n[4]

a

Each element in array has……..
a) symbol                             
b) unique index
c) order                                 
d) data type

b

Which of the following declasses an array of ten elements and assign the value 3.2 to first element?
a) float n[9], n[0]=3.2                        
b) float n[9], n[1]=3.2
c) float n[10], n[0]=3.2                      
d) float n[10], n[0]=3.2

c