How do I declare an array of N pointers to functions
returning pointers to functions returning pointers
to characters?
Answers were Sorted based on User's Feedback
#include <stdio.h>
/*
* How do I declare an array of N pointers to functions
* returning pointers to functions
* returning pointers to characters?
*/
int
main()
{
typedef char *f1();
typedef f1 *(*f2[4])();
return 0;
}
Best,
Vijay Zanvar,
Home Page - http://geocities.com/vijoeyz/
| Is This Answer Correct ? | 8 Yes | 3 No |
If errno contains a nonzero number, is there an error?
What are Macros? What are its advantages and disadvantages?
Do you know the use of fflush() function?
what is data structure
what is d pitfalls of registers variables
difference between the array and linked list general difference related to memory
how to multiply two number taking input as a string (considering sum and carry )
Why functions are used in c?
main() { int a = 65; printf(“%d %o %x”,a,a,a); } Output 65 101 41 Please explain me.How it is coming like that?
What is a program flowchart and how does it help in writing a program?
Explain what is the difference between the expression '++a' and 'a++'?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1