2. Array are the Collection of Finite Number of Homogeneous Data
Element.
All the Element are Stored at the Contiguous Memory Location.
Array is Group of Variable.
Array is a Linear Collection of Similar Element.
Array is Also Know as Subscript Variable.
3. Before using Array in a Program, It Must Be Declared First Like Other
Data type of an Array.
The Name of The Array.
The Number of Subscript in an Array.
The Maximum Value of Each Subscript.
4. After An Array is
Declared its Elements
Must Be Initialized
A[0]=34
A[1]=15
A[2]=18
A[3]=19
5. Linear Array
Another name of linear array is one dimensional array of single
dimensional array.
List of element of simply a row of element of column of element.
There is one to one relationship between each data element and
its subscript or index.
Only one subscript is used.
7. This array are int the form of row and column form.
First subscript will depict the row size and second subscript
will depict the col. Size.
General syntax is.
data type array name[row size][col. Size]
Example:
int a[5][10];
8. It has three subscript. So these are called triple dimensional
array.
General syntax
Data type array name[space size][row size][col. Size]
Example:
int st[4][2][3];
9. It has N size of row, column and spaces and so on.
General syntax is.
data type array name[s1][s2]……………..[sn]
Example: