Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what about "char *(*(*a[])())();"

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


Please Help Members By Posting Answers For Below Questions

When c language was developed?

1011


What is new line escape sequence?

1269


Why is this loop always executing once?

1002


What is %lu in c?

1180


What is getch?

1095


Explain how can you avoid including a header more than once?

1045


How can I list all of the predefined identifiers?

929


What is maximum size of array in c?

994


What is 02d in c?

1030


How do you write a program which produces its own source code as output?

1063


What is methods in c?

1035


Is this program statement valid? INT = 10.50;

1087


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1230


What does the error 'Null Pointer Assignment' mean and what causes this error?

1163


How can I find the modification date of a file?

1221