can anyone explain how can a function return a double pointer with which a 2 dimensional array can be traversed, this function takes the number of rows and columns as arguments:
like:
void ** function(int row, int col)
{
void **returningPointer= NULL;
void*p;
for (i = 0; i < row; i++)
{
p[i] = malloc(szeof(int));
}
}