Question:

What is array ?

Show Hint

An array is like a numbered list or a set of mailboxes in a row. You can instantly get to any item if you know its number (index).
Hide Solution
collegedunia
Verified By Collegedunia

Solution and Explanation

An array is a linear data structure that stores a collection of elements of the same data type in contiguous memory locations. Each element in the array is identified by at least one index or key. Because the elements are stored side-by-side in memory, arrays offer very efficient random access; any element can be accessed directly using its index.
Was this answer helpful?
0
0