CC Multi-Dimensional Arrays
Arrays of arrays.
C Multi-Dimensional Arrays
A multidimensional array is basically an array of arrays.
Arrays can have any number of dimensions. The most common are two-dimensional arrays (2D).
int matrix[2][3] = { {1, 4, 2}, {3, 6, 8} };
The first dimension represents the number of rows [2], while the second dimension represents the number of columns [3].
Examples
Access 2D Array
c example