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
When c language was developed?
What is new line escape sequence?
Why is this loop always executing once?
What is %lu in c?
What is getch?
Explain how can you avoid including a header more than once?
How can I list all of the predefined identifiers?
What is maximum size of array in c?
What is 02d in c?
How do you write a program which produces its own source code as output?
What is methods in c?
Is this program statement valid? INT = 10.50;
.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }
What does the error 'Null Pointer Assignment' mean and what causes this error?
How can I find the modification date of a file?