1, for multidimensional array understanding, multidimensional array is an array of arrays, array elements or arrays are called two-dimensional arrays.
2, "C++primer fifth" mentioned in order to better understand the multidimensional array, you should read the definition from inside out.
3. When a multidimensional array is initialized, each line is enclosed in curly braces and can be omitted. You can display the initialization of each row for the first element, or you can display only an initial line of elements.
4. Use the subscript operator to access multidimensional array elements, each of which corresponds to a subscript operator.
5. When using the range for statement to process a multidimensional array, you need to declare the outermost control variable as a reference, regardless of whether the value of the control variable is modified, or the compiler automatically infers the type of the control variable as a pointer.
6. A pointer to a multidimensional array name translates to a pointer to the first inner element, which is the first inner-layer array. By referencing it, you can get the address of the first element of an inner-layer array, and the array name of the array is automatically converted to a pointer to the first element of the array.
Considerations for multidimensional arrays