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 |
write a program to fined second smallest and largest element in a given series of elements (without sorting)
What is a const pointer?
What is keyword with example?
what is the flow of execution in cprogram? ex:printf();,scanf();
write a function to swap an array a[5] elements like a[0] as a[5],a[1] as a[4],....a[5] as a[0].without using more than one loop and use one array not to use temp array?
Difference between constant pointer and pointer to a constant.
What is static identifier?
What is memmove?
What is string function in c?
wht is the difference between KPO and BPO ?
2 Answers Accenture, BPO, HCK, HCL, Infosys,
what are # pragma staments?
What does %2f mean in c?