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

Why void main is used in c?

1051


What are the back slash character constants or escape sequence charactersavailable in c?

1184


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1166


What are structure types in C?

1105


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

1952


In c programming language, how many parameters can be passed to a function ?

1114


How do shell structures work?

1116


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1080


What are the two types of functions in c?

1015


What is || operator and how does it function in a program?

1093


any "C" function by default returns an a) int value b) float value c) char value d) a & b

1087


Are pointers integer?

1017


How do we open a binary file in Read/Write mode in C?

1242


What are the types of type qualifiers in c?

1091


What is clrscr in c?

1137