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


Please Help Members By Posting Answers For Below Questions

A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(

1726


What is the size of empty structure in c?

582


Explain what is the purpose of "extern" keyword in a function declaration?

613


How to compare array with pointer in c?

613


Why is c still so popular?

608






Why is c so important?

590


How to establish connection with oracle database software from c language?

1669


Is it cc or c in a letter?

553


Can we use any name in place of argv and argc as command line arguments?

603


What is c programing language?

608


7-Given an index k, return the kth row of the Pascal's triangle. For example, when k = 3, the row is [1,3,3,1]. For reference look at the following standard pascal’s triangle.

2213


What is the time and space complexities of merge sort and when is it preferred over quick sort?

667


Describe newline escape sequence with a sample program?

643


What language is lisp written in?

609


What is meant by 'bit masking'?

878