Google News
logo
Data Structures - Quiz(MCQ)
How can we describe an array in the best possible way?
A)
Arrays are immutable.
B)
Container that stores the elements of similar types
C)
The Array is not a data structure
D)
The Array shows a hierarchical structure.

Correct Answer :   Container that stores the elements of similar types


Explanation : The answer is c because array stores the elements in a contiguous block of memory of similar types. Therefore, we can say that array is a container that stores the elements of similar types.

Advertisement