#include<stdio.h>
#include<conio.h>
#include<iostream.h>
void main()
{
int r,c,a[10][10];
clrscr();
cout<<"Enter how many row : ";
cin>>r;
cout<<"Enter how many column : ";
cin>>c;
for(int i=0;i<r;i++)
for(int j=0;j<c;j++)
cin>>a[i][j];
for(i=0;i<r;i++)
{
for(j=0;j<c;j++)
cout<<" "<<a[i][j];
cout<<"\n\n";
}
getch();
}
///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........