you basically print a 2d array in the form of a matrix using two loops.One nested inside another.One loop to control the row and the other to control the column.
Then you would know there really aren't multidimensiona l arrays in C or C++. (See the last example).
Therefore, the simplest method is to iterate the array the array and display each character as you go. If this array is
[3][4] then just display a \n after each three elements. This requires one loop.
Comment