This question is asked in some ways but am finding it difficult to understand.
int (*q)[3][4]
-> q
is a pointer to a 2-D array of 3 rows and 4 columns.
Now suppose I want to return a 2-d array from a function.
pointer-to-2d-array func() {
static 2 day array;
return ;
}
Basically what should be the signature of my function. I have seen many places like below which I dont undesrtand
int (*fun2())[column];
Am finding it difficult to explain/understand the signature . Can anyone please help me on this?