Contents

The value 4 in the statement indicates list[4]=3.3.
a) member name
b) array element
c) index                                
d) variable

c

Which of the following statement is valid?
a) void n[5];                         
b) int arr[20];
c) int arr[int];                       
d) none of these

b

Which of the following statement is valid?
a) int i[]={3,4,3,2}              
b) int i[4]= {3,2,3,4}
c) double d[30];  
d) all of these

d

A two dimensional array can be viewed as…..
a) arguments, parameters                                 
b) increment, decrement
c) rows, columns
d) none of hese

c

An array can easily be stepped through by using a……..
a) if                                        
b) switch
c) for loop                           
d) all of these

c

Which of the following bracket is used for size in array?
a) curly bracket {}              
b) square bracket []
c) small bracket ()               
d) none of these

b