Multi-dimensional Arrays
Learn to use arrays of arrays in C++.
What is a multi-dimensional array
In C++, a multi-dimensional array is an array that contains other arrays as its values or members. The container array is termed an outer array, and the member array is termed an inner array. An array is said to be a multi-dimensional array if it has another array as its members. Can you think of some instances where we might have been using a structure same as a multi-dimensional array? One such example is a crossword puzzle!
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy