#include<iostream>
using namespace std;
void display(int **ptr)
{
for(int i = 0;i < 3;i++)
{
for(int j = 0;j < 5;j++)
{
cout<<ptr[i][j]<<" ";
}
cout<<endl;
}
}
int main()
{
int row = 3;
int column = 5;
int **p = new int *[row];
for(int i = 0;i<row;i++)
{
p[i] = new int[column];
for(int j = 0;j<column;j++)
{
p[i][j] = 0;
}
}
display(p);
}