Hi, Quick question. Was looking in to some of the complex function declaration topic and came across this question. I have two answers for this. Just wanted to make sure that I am right.
Here is the question which i came across, where i need to write the function declaration for it.
And here are my two solutionQuote:
Declare a pointer to a function taking an int and a pointer to int and returning a pointer to an array of pointer to char.
char ** (*f)(int, int *);
I am confused, when it says "pointer to an array of pointer to char". Will this be a pointer to a pointer as well.Code:
char * (*f)(int, int *);
Is my understanding of that question is right. Please put me in a right direction.
Thanks a lot