I know that I am asking an incredibly low level question, but I am unfamiliar with C and am trying to convert an expression to Objective-C. What does this mean?
double (*x)[2]
Thanks.
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.
With a semicolon at the end, it declares and defines a pointer (named
x) to a array of 2 doubles. If it’s a function (or method) argument, its type is the same: a pointer to an array of 2 doubles.