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
What is #line in c?
Why double pointer is used in c?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What is call by reference in functions?
How do I use void main?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
Can the sizeof operator be used to tell the size of an array passed to a function?
Why do we use main function?
Explain what’s a signal? Explain what do I use signals for?
Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.
Why is c called a mid-level programming language?
Write a simple code fragment that will check if a number is positive or negative.
How pointer is different from array?