What is array of pointers? Give an example.
The one dimensional or two-dimensional pointer array is called array of pointer. For example, int ptr[5]; Where ptr is array pointer variable and size of array is 5. i.e., ptr[0], ptr[l], ptr[2], ptr[3], ptr[4].