Create a program to read and display a 2D matrix.
HardProblem Statement
Create a program to read and display a 2D matrix.
Sample Input
int matrix[2][3] = {{1, 2, 3}, {4, 5, 6}};Sample Output
1 2 3 4 5 6
Limits
Time: 2s · Memory: 256 MB
Create a program to read and display a 2D matrix.
int matrix[2][3] = {{1, 2, 3}, {4, 5, 6}};1 2 3 4 5 6
Time: 2s · Memory: 256 MB