First page Back Continue Last page Overview Image
Note:
Note:
1-A multidimensional array can be initialized when it’s defined
int b[ 2 ][ 2 ] = { { 1, 2 }, { 3, 4 } };
2-If there are not enough initializers for a given row, the remaining elements of that row are initialized to 0.
int b[ 2 ][ 2 ] = { { 1 }, { 3, 4 } }; b[0][1] to 0
3-we can write a multidimensional array without row index but must write column index
int a [ ][ 3 ] ;