What does this mean? I see it all the time in programs and I don’t get it:
int *array[9];
Why is the asterisk there. What is the difference between this declaration and this:
int array[9];
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.
It’s an array of pointers to an integer. (array size is 9 elements. Indexes: 0 – 8)
This can also be stated as being an array of integer pointers.
int array[9], is an array of integers.