This is a example of Accessing an array using pointers. In this example the array name is the pointer constant.
#include <stdio.h> main(){ int a[5]; int i; for(i = 0; i<5; i++){ a[i]=i; } int *b; b=a; for(i = 0; i<5; i++){ printf("value in array %d and address is %16lu\n",*b,b); b=b+2; } }