ARRAY DECLARATION

int marks [30];

Accessing element of array

Marks [10];

Entering data in array

Marks [10] =550;

Basic point about an array

1.an array is a collection of similar elements.

2.the first element in a array In a number [0], so last element of an array is 1< size of a array.

3.as array is also known as sub scripted variable.

4.before using an array its type and dimension must be declared.

5.however big an array its element always stored in contigious memory location.