Check out example codes for "create a 2d array c++". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

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

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

Learn ReactJs, React Native from