Multi-Dimensional Arrays
We have entered a new dimension. Or perhaps several! The only benefit (or drawback) is that we won't be leaving Earth; instead we will be adding complexity and depth to our arrays in C.
A multi-dimensional array is an array that has more than one dimension. It is an array of arrays; an array that has multiple levels. The simplest multi-dimensional array is the 2D array, or two-dimensional array. It's technically an array of arrays, as you will see in the code. A 2D array is also called a matrix, or a table of rows and columns.
When the above program is executed, it produces following results --
OUTPUT NO:- 1
OUTPUT NO:- 02
0 Comments