How do I declare an array of N pointers to functions
returning pointers to functions returning pointers
to characters?
Answer Posted / vijay zanvar
#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 |
Post New Answer View All Answers
Explain pointers in c programming?
Write a program to print “hello world” without using semicolon?
What are types of functions?
Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?
Explain what is a program flowchart and explain how does it help in writing a program?
What do you mean by invalid pointer arithmetic?
What is the best way of making my program efficient?
‘SAVEPOINT’ and ‘ROLLBACK’ is used in oracle database to secure the data comment. Give suitable examples of each with sql command.
How do you determine whether to use a stream function or a low-level function?
Is fortran still used today?
Write a program to print factorial of given number without using recursion?
What are linked lists in c?
Does c have class?
What is extern variable in c with example?
What are the basic data types associated with c?