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 |
when i declare as: void main() { clrscr(); int a=10; printf("%d",a) } my problem that why generate a error in above programs. please tell me answer seriously .
write a program whose output will be- 1 12 123 1234
What is Function Pointer? Explain with example?
What is the scope of global variable in c?
In C, What is the #line used for?
we have a 3litres jug and a 5 litres jug and no measures on them. using these two jugs how can we measure 4 litres of water?
Why main is used in c?
What do you understand by friend-functions? How are they used?
write a c program for print your name .but,your name may be small letter mean print a capital letter or your name may be capital letter mean print a small letter .example \\enter ur name : sankar The name is: SANKAR (or) enter your name:SAnkar The name is:saNKAR
Explain how many levels deep can include files be nested?
how to swap 2 numbers within a single statement?
2. What is the function of ceil(X) defined in math.h do? A)It returns the value rounded down to the next lower integer B)it returns the value rounded up to the next higher integer C)the Next Higher Value D)the next lower value