An
array is a data structure. It is a collection of similar type of (homogeneous)
data elements and is represented by a single name.
It
has the following features:
1.
The elements are stored in
continuous memory locations.
2.
The n elements are numbered by
consecutive numbers i.e. 1, 2, 3, . . . . . , n.
E.g.
An
array STUDENT containing 8 records is shown below:
STUDENT
Ritika
|
Gurpreet
|
Anupama
|
Hanish
|
Harsh
|
Navdeep
|
Shalini
|
Kapil
|