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 a NULL Pointer? Whether it is same as an uninitialized pointer?
how to write a c program to print list of fruits in alpabetical order?
How do you define a string?
1.what are local and global variables? 2.what is the scope of static variables? 3.what is the difference between static and global variables? 4.what are volatile variables? 5.what is the use of 'auto' keyword? 6.how do we make a global variable accessible across files? Explain the extern keyword? 7.what is a function prototype? 8.what does keyword 'extern' mean in a function declaration?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
2 Answers Aricent, Manipal University,
what is the use of ~ in c lang?????
Name the language in which the compiler of "c" in written?
what is data structure.in linear and non linear data structures which one is better?Explain
why we need function pointers?
How to get string length of given string in c?
write a program to arrange the contents of a 1D array in ascending order
User define function contain thier own address or not.