#include<stdio.h>
main()
{
    int a[5]= {10,20,15,30,9};
    int *p=&a[0];
    int i;
    for(i=0; i<5; i++)
        printf("%d \n",*(p+i));
    for(i=0; i<5; i++)
        printf(" The Element %d is stored at %u\n",a[i],(p+i));
   }

 OUTPUT:

10
20
15
30
9
 The Element 10 is stored at 2686708
 The Element 20 is stored at 2686712
 The Element 15 is stored at 2686716
 The Element 30 is stored at 2686720
 The Element 9 is stored at 2686724