I know how to pass a 2-D array to a function. The prototype for that is
void f(int (*p)[2]) assuming the array is of integers and there are 2 columns in it.
However, if I wanted the same function to return a pointer to a 2-D array, what would be the prototype?
Thanks in advance. If my question is a little ambiguous, please feel free to ask me to clarify further.