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

C passes By value or By reference?

5 Answers   Geometric Software, Infosys,


How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...

0 Answers  


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

0 Answers   TCS,


What is array of structure in c?

0 Answers  


write a progam to compare the string using switch case?

1 Answers  






Place the #include statement must be written in the program?

0 Answers  


define string ?

0 Answers  


What is wrong with this program statement?

0 Answers  


Why is this loop always executing once?

0 Answers  


What is the heap?

0 Answers  


How do you override a defined macro?

0 Answers  


#include<stdio.h> #include<conio.h> void main() { char ch='\356'; printf("%d",ch); } o/p=-18 why?plz.explain

2 Answers  


Categories