#include <conio.h>
#include<iostream.h>
void main()
{
int i,j;
int n=5;
int a[n][n];
for(i=0;i<=n;i++)
for(j=0;j<=n;j++)
a[i][j]=rand()%10;
cout<<a[i][j]<<" ";
}
cout<<endl;
#include <conio.h>
#include<iostream.h>
void main()
{
int i,j;
int n=5;
int a[n][n];
for(i=0;i<=n;i++)
{
for(j=0;j<=n;j++)
{
a[i][j]=rand()%10;
cout<<a[i][j]<<" ";
}
cout<<endl;
}
}