#include <iostream>
using namespace std;
int main()
{
long **d1;
for (int i=0;i<10;i++)
for (int j=0;j<10;j++)
{
d1[i][j]=0;
cout<<d1[i];
}
}
the build is ok. but while calculating when i became 1 it crash.
what i have to do for creating a matrix of zero using pointer **d1