Multidimensional Array

An Array of an Array is known as Multi Dimensional Array.

For Example

float a[2][6]; here 'a' is an array of 2 dimension.

syntax: type array_name[rows][columns] // for 2d arrays.

A[M][N] is an M by N table with M rows and N column containing M*N.

Data-Structures

Memory representation of An 2d Array:

Data-Structures

Initialization:

int C[2][3]={{1,3,0},{5,2,8}};

or

int C[2][3]= {1,3,0,5,2,8};

05- Multi Dimensional Array- DataStructure




    CLICK HERE TO Download This PDF NOTES




Facebook Likes

Youtube