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

Which is better between malloc and calloc?

672


formula to convert 2500mmh2o into m3/hr

499


int i[2], j; int *pi;i[0] = 1; i[1] = 5; pi = i; j = *pi + 1 + *(pi + 1)Value of j after execution of the above statements will be a) 7 b) 6 c) 4 d) pointer

657


How can I copy just a portion of a string?

818


Explain the term printf() and scanf() used in c language?

597






in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above

600


How will you write a code for accessing the length of an array without assigning it to another variable?

617


What are the back slash character constants or escape sequence charactersavailable in c?

686


Linked lists -- can you tell me how to check whether a linked list is circular?

647


What are the advantages of the functions?

607


What are called c variables?

575


write a program to create a sparse matrix using dynamic memory allocation.

4373


Which is the best website to learn c programming?

584


Explain what are the different data types in c?

761


`write a program to display the recomended action depends on a color of trafic light using nested if statments

1634