An array is one kind of data structure where a collection of the same data type is stored. It has two distinct characteristics. They are:
Element: Each item stored inside the array is called element.
Index: Each location of an element stored inside an array holds a numerical position.
P.S:
- First value is always stored in the Oth index.
- In the case of a circular array, the first value can be at any index.
Top comments (0)