#include
void print_addr(int a[]);
main() {
int a[5];
int j;
for(j = 0;j<5;j++) {
a[j]=j;
}
print_addr(a);
}
void print_addr(int a[]) {
int *b;
int j;
b = a;
for(j = 0;j < 5; j++) {
printf("value %d and address is %16lu\n",*b,b);
b++;
}
}