What is an Array
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
|
http://
http://
Contributed by:
Rohit kakria
I am software developer
Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=133
Click here to go on website
|