Check out example codes for "bidimensional arrays c++". It will help you in understanding the concepts better.

Code Example 1

Two dimensional array:
int two_d[10][20];

Three dimensional array:
int three_d[10][20][30];

Code Example 2

data_type  array_name[size1][size2]....[sizeN];

data_type: Type of data to be stored in the array. 
           Here data_type is valid C/C++ data type
array_name: Name of the array
size1, size2,... ,sizeN: Sizes of the dimensions

Learn ReactJs, React Native from