hi all,
i want to creat a 2D array and return the pointer of it, and then pass the
pointer to another function. How can i write my "return" code and define
the second function's "parameter" type?
thanks.

Code:
#include <stdio.h>

int creat2dArray()
{
    int array[10][10]= {0};
    return (int**)array;
}
void 2dpointers(int *p[10])
{
   ;  
}
int main(void)
{
   2dpointers(creat2dArray());
    
   return 0;
}