Hello all.
I have a question regarding arrays of pointers.
Letīs say I want to create an array of pointers, each pointer pointing to an array of integers. I have 5 arrays of integers, that means that I will need an array of 5 pointers to integers. Well, in my book, every time something like this is to be done the author codes an array of 6 pointers, instead of 5. I mean 1 extra pointer, that he initializes to NULL.
I just donīt understand why I need an extra pointer, initialized to NULL.
Any help will be appreciated.
Thanks.