9. What are the advantages of arrays ?

a) Objects of mixed data types can be stored
b) Elements in an array cannot be sorted
c) Index of first element of an array is 1
d) Easier to store elements of same data type

Answer: d
Explanation: Arrays store elements of the same data type and present in continuous memory locations.

Leave a Reply

Your email address will not be published.