Embed presentation
Download to read offline



![After An Array is
Declared its Elements
Must Be Initialized
A[0]=34
A[1]=15
A[2]=18
A[3]=19](https://image.slidesharecdn.com/datastructure-161211170536/85/Data-structure-4-320.jpg)


![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];](https://image.slidesharecdn.com/datastructure-161211170536/85/Data-structure-7-320.jpg)
![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];](https://image.slidesharecdn.com/datastructure-161211170536/85/Data-structure-8-320.jpg)
![It has N size of row, column and spaces and so on.
General syntax is.
data type array name[s1][s2]……………..[sn]
Example:](https://image.slidesharecdn.com/datastructure-161211170536/85/Data-structure-9-320.jpg)
The document discusses different types of arrays. It defines an array as a collection of homogeneous data elements stored in contiguous memory locations. Arrays must be declared before use with the data type, name, number of subscripts, and maximum value of each subscript specified. Elements are then initialized. Linear arrays have one dimension and one subscript. Multidimensional arrays have two or more dimensions, with additional subscripts used to specify each dimension.



![After An Array is
Declared its Elements
Must Be Initialized
A[0]=34
A[1]=15
A[2]=18
A[3]=19](https://image.slidesharecdn.com/datastructure-161211170536/85/Data-structure-4-320.jpg)


![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];](https://image.slidesharecdn.com/datastructure-161211170536/85/Data-structure-7-320.jpg)
![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];](https://image.slidesharecdn.com/datastructure-161211170536/85/Data-structure-8-320.jpg)
![It has N size of row, column and spaces and so on.
General syntax is.
data type array name[s1][s2]……………..[sn]
Example:](https://image.slidesharecdn.com/datastructure-161211170536/85/Data-structure-9-320.jpg)