Array of Pointers
      An array of pointers means an array storing addresses of pointers. These pointers store address of some other variables. Basically an element array of pointers can be treated as a pointer to a pointer
/*
	http://www.ProbCOMP.com
	
	An array of pointers means an array storing addresses of pointers. 
	These pointers store address of some other variables. Basically an element array of pointers can be treated as a pointer to a pointer


*/

#include<stdio.h>

void main()
{
	int *arr[3],i,j; // declares an array of 5 pointers 
	int arr1[3]={1,2,3},arr2[3]={4,5,6},arr3[3]={7,8,9};
	arr[0]=arr1;
	arr[1]=arr2;
	arr[2]=arr3;
	printf("\narray \n");
	for(i=0;i<3;i++)
	{
		for(j=0;j<3;j++)
			printf("%d ",*arr[i]++);
		printf("\n");
	}
}
										

Download Program
Did You Know ?
IP address is a numerical label that is assigned to devices participating in a computer network. Read More