Possible Duplicate:
Complex Declarations
Can someone help me to break this down, and help me to understand?
1) char *(*(*a[N])( ))( );
2) char (* (*x[3]) ( ))[5];
3) char (*(*f( ))[ ]) ( );
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The golden rule is. just use http://cdecl.org/:
declare a as array 5 of pointer to function returning pointer to function returning pointer to char(I replacedNwith5)declare x as array 3 of pointer to function returning pointer to array 5 of chardeclare f as function returning pointer to array of pointer to function returning charTo understand how to interpret them yourself, this is a very good explanation from MSDN: Interpreting More Complex Declarators.