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 the output of the below code? main( ) { printf ( "\nOnly stupids use C?" ) ; display( ) ; } display( ) { printf ( "\nFools too use C!" ) ; main( ) ; }
a single linked list consists of nodes a to z .print the nodes in reverse order from z to a using recursion
write a program to sort the elements in a given array in c language
How can you increase the size of a dynamically allocated array?
b) 4 c) 6 d) 7 32. Any C program a) must contain at least one function b) need not contain ant function c) needs input data d) none of the above 33. Using goto inside for loop is equivalent to using a) continue b) break c) return d)none of the above 34. The program fragment int a=5, b=2; printf(“%d”,a+++++b); a) prints 7 b)prints 8 c) prints 9 d)none of the above 35. printf(“ab” , “cd”,”ef”); prints a) ab abcdef c) abcdef, followed by garbage value d) none of the above 36. Consider the following program segment. i=6720; j=4; while((i%j)==0) { i=i/j; j=j+1; } On termination j will have the value a) 4 b) 8 c) 9 d) 6720
In C language what is a 'dangling pointer'?
What are header files why are they important?
Which node is more powerful and can handle local information processing or graphics processing?
what is the diffrenet bettwen HTTP and internet protocol
Why flag is used in c?
When should I declare a function?
Why can't we initialise member variable of a strucutre