I am trying to declare an array of pointers each of which points to int arrays of different sizes. Any ideas?
Share
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.
From your description it sounds like you are looking for a pointer to a pointer.
NUM_ARRAYSarrays may have different number of elements, as determined by the value returned by thegetNumItemsInArray(i)function.