Answer Posted / jaroosh
"char *(*(*a[])())();"
is a string, but
char *(*(*a[])())();
is NOT.
It is simply a function pointer declaration, which says :
"declare an array named 'a', of pointers to functions that
take no arguments and return a pointer to a function that
takes no arguments and returns a pointer to char"...thew,
reading function pointers is actually kinda complicated.
NOTE: char *(*(*a[])())(); is an erroneous declaration, for
it to be proper, you have to specify array size, eg:
char *(*(*a[5])())(); will work.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Why void main is used in c?
What are the back slash character constants or escape sequence charactersavailable in c?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What are structure types in C?
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
In c programming language, how many parameters can be passed to a function ?
How do shell structures work?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What are the two types of functions in c?
What is || operator and how does it function in a program?
any "C" function by default returns an a) int value b) float value c) char value d) a & b
Are pointers integer?
How do we open a binary file in Read/Write mode in C?
What are the types of type qualifiers in c?
What is clrscr in c?