Is it possible to declare a dynamic array in (main), but use malloc inside another function? I mean something like this
.
.
int main(void)
{
.
.
int **array;
.
.
}
void function(int **arr)
{
.
array = (**int) malloc .......
.
}