With respect to this question, we can declare a function that returns pointer to array as:
int (*function())[3]
which returns Ax3 array, ok.
How is the proper way to declare a function pointer that points this kind of function?
With respect to this question, we can declare a function that returns pointer to array as:
int (*function())[3]
which returns Ax3 array, ok.
How is the proper way to declare a function pointer that points this kind of function?
See this reference, which is quite helpful. Note the techniques using typedefs
typedef int (*pfintarray())[3];
pfintarray myFunc() { /* etc