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
#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 |
write a program to print the one dimensional array.
write a program to rearrange the array such way that all even elements should come first and next come odd
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?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
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
Why array starts with index 0
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.
Write a program to use switch statement.
0 Answers Agilent, Integreon, ZS Associates,
what is a function method?give example?
where are auto variables stored? What are the characteristics of an auto variable?
how can you print&scan anything using just one character? :) HINT: printf,scanf similer