I have an array of int pointers
int * arr[3];
If I want to define a pointer to arr, I can do the following:
int * (*p)[] = &arr;
However, in my code, I need to first declare that pointer:
int *(*p)[];
My question is, how to assign &arr to it after it has been declared. I have tried (*p)[] = &arr; but that didn't work.
(int* (*)[]is a pointer to incomplete array type, so that can be an issue in some contexts.