Contents

The number of elements that can be stored in an array is called?
a) name of array          
b) size of array
c) index of array          
d) none of these

b

Which of the following is the correct format of array?
a) float z[10];              
b) float z{10};
c) float z(10);              
d) none of these

a

The location number of an item in an array is called….
a) name of array          
b) size of array
c) index of array        
d) none of these

c

What is the correct format to access the index of 5 numbers in array?
a) int z [4] `                  
b) int z[4];
c) int z{4}                   
d) int z (4)

b

Which of the following are advantages of C++ array?
a) code optimization
b) random access
c) east to traverse data
d) all of these

d

Which of the following are disadvantages of C++ array?
a) fixed size                
b) wastage of memory
c) both a & b               
d) none of these

c