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

write a program to print the one dimensional array.

1 Answers  


write a program to rearrange the array such way that all even elements should come first and next come odd

0 Answers  


1. Can we use the for loop this way? for(;i>5;) 2. What is the use of pointers? 3. what is array of pointer? 4. What is the difference between file and database? 5. Define data structure?

1 Answers  


Write the test cases for checking a variable having value in range -10.0 to +10.0?

0 Answers   Bosch,


write a program to search for an element in a given array. If the array was found then display its position otherwise display appropriate message in c language

18 Answers   IT Park, TCS,


Why array starts with index 0

2 Answers  


what is volatile in c language?

9 Answers   Cap Gemini, HCL, Honeywell, TCS, Tech Mahindra,


Write code for atoi(x) where x is hexadecimal string.

5 Answers   Adobe,


Write a program to use switch statement.

0 Answers   Agilent, Integreon, ZS Associates,


what is a function method?give example?

0 Answers  


where are auto variables stored? What are the characteristics of an auto variable?

0 Answers  


how can you print&scan anything using just one character? :) HINT: printf,scanf similer

2 Answers  


Categories