The way there can be an array of ints or an array of floats, similarly there can be an array of pointers. Since a pointer variable always contain an address, an array of pointers would be nothing but collection of addresses. The addresses present in the array of pointers can be addresses of isolated variables or addresses of array elements or any other addresses. All rules that apply to an ordinary array apply to the array of pointers as well.
eg.
main ( )
{
int * arra [ 4 ];
int i = 31, j = 5, k = 19, L = 71, m;
arra [0] = & i ;
arra [1] = & j ;
arra [2] = & k ;
arra [3] = & l ;
for (m=0; m<=3 ; m+ +) printf (“\n% d”, * (arr[m])) ; } The output will be -
31
5
19
71
eg.
main ( )
{
int * arra [ 4 ];
int i = 31, j = 5, k = 19, L = 71, m;
arra [0] = & i ;
arra [1] = & j ;
arra [2] = & k ;
arra [3] = & l ;
for (m=0; m<=3 ; m+ +) printf (“\n% d”, * (arr[m])) ; } The output will be -
31
5
19
71