I came across this line:
void (*(*x)(void (*[10])(int *)))(int *)
Can anybody tell me what it is?
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.
To break this down yourself, start from the inner most parentheses and work your way out.
(*[10])<—- Array of 10 pointers(*[10])(int *)<—— Array of 10 pointers to functions which has a pointer tointas its argument(void (*[10])(int *))<—— Array of 10 pointers to functions which has a pointer tointas its argument and returnsvoid(*x)(void (*[10])(int *))<——-xis a pointer to a function which has as an argument (an array of 10 pointers to functions which has a pointer to int as its argument and returnsvoid)…..
I stopped partway through, but hopefully that helps.