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

Tell me the use of bit field in c language?

634


When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd

646


What are 3 types of structures?

596


Write a program to find factorial of a number using recursive function.

651


What is dynamic memory allocation?

812






Mention four important string handling functions in c languages .

634


Why is c used in embedded systems?

616


What is the use of function in c?

717


What is extern c used for?

573


Why isn't it being handled properly?

651


What is context in c?

543


What is mean by data types in c?

557


How do you construct an increment statement or decrement statement in C?

747


What are the three constants used in c?

550


Why c is a mother language?

560