Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



How do I declare an array of N pointers to functions returning pointers to functions return..

Answer / raj kumar

char *(*(*a[N])())();

Is This Answer Correct ?    13 Yes 2 No

How do I declare an array of N pointers to functions returning pointers to functions return..

Answer / 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

More C Interview Questions

what is a NULL Pointer? Whether it is same as an uninitialized pointer?

0 Answers   TISL,


how to write a c program to print list of fruits in alpabetical order?

0 Answers  


How do you define a string?

0 Answers  


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?

0 Answers  


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?????

3 Answers  


Name the language in which the compiler of "c" in written?

3 Answers   Bajaj,


what is data structure.in linear and non linear data structures which one is better?Explain

3 Answers   Wipro,


why we need function pointers?

3 Answers  


How to get string length of given string in c?

0 Answers  


write a program to arrange the contents of a 1D array in ascending order

4 Answers  


User define function contain thier own address or not.

2 Answers  


Categories