When i run this program it takes more values and prints less values....
this runs on Dev C++(www.bloodshed.net)
#include<iostream>
using namespace std;
#include<conio.h>
int main()
{
int arr[5][5],i,j,k,l;
cout<<"Enter matrix row wise";
for(i=0;i<=3;i++)
{
for(j=0;j<3;j++)
{
cin>>arr[i][j];
}
}
for(k=0;k<3;k++)
{
for(l=0;l<3;l++)
{
cout<<" "<<arr[k][l];
}
printf("\n");
}
getch();
}