Question #274628

What is an array of pointers? Is it possible to have negative index in an array? Why is it necessary to give the size of an array in an array declaration?


Expert's answer

An array of pointers is a collection of variables containing pointer type, used to reference memory addresses of other variables


It is not possible to have a negative index in an array

We need to give the size of the array because the complier needs to allocate space in the memory which is not possible without knowing the size.




LATEST TUTORIALS
APPROVED BY CLIENTS