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 |
What is pragma in c?
Here is alphabets : abcdefgh 1) how to reverse. as hgfedcba 2) after reversal, how to group them in a pair hg fe dc ba.
Predict the output or error(s) for the following: 25. main() { printf("%p",main); }
Can a variable be both const and volatile?
Which is more efficient, a switch statement or an if else chain?
21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }
Write a programme to find even numbers without using any conditional statement?
3 Answers ADD Software, Infosys,
Why static variable is used in c?
What is sizeof array in c?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What is 1d array in c?
What is string in c language?