+2 votes
in Class 12 by kratos

What is array of pointers? Give an example.

1 Answer

+6 votes
by kratos
 
Best answer

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].

...