double **p;
.. ... .
... . ..
p= (double *) malloc(sizeof(double) * ( m*n)) ;
... ..
for ( i .... .. .
for ( j ......
*(*(p+i)+j)++;
}
}
it is not working because of molloc operation. i try to do, sorted numbers which lenght is m*n... like array[m][n]..
Start Free Trial