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
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What is ctrl c called?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
What are the scope of static variables?
how can use subset in c program and give more example
What is a program?
Write a program that accept anumber in words
What are pragmas and what are they good for?
Explain main function in c?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What is #include stdio h and #include conio h?
Why isn't it being handled properly?
code for quick sort?
When is a null pointer used?
For what purpose null pointer used?