what about "char *(*(*a[])())();"
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
Simply it is a string.Bze in C the contents within "" will
treate as strings.
Is This Answer Correct ? | 2 Yes | 2 No |
What is pointer to pointer in c?
Explain Function Pointer?
Implement bit Array in C.
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database
2 Answers TCS, Unisys, Webyog,
What is variables in c?
What is a structural principle?
What is the size of structure pointer in c?
What is a static function in c?
how can i get this by using for loop? * ** * **** * ******
what is link list?
How to reverse a string using a recursive function, without swapping or using an extra memory?
31 Answers Cisco, Mind Tree, Motorola, Ophio, Sony, TCS, Wipro,
wap to print "hello world" without using the main function.