Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




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

1

2

3

4

5

6

7

8

 

                 

 

 

 

 

 

 

 

 

 

 

 

Share this article   |    Print    |    Article read by 4361 times
Author:
Rohit kakria
I am software developer
Related Articles: No related article
Related Interview Questions: No related interview question