/* more pointers and arrays */ #include int main() { int ar[10], i; int *arptr; arptr = ar; printf("Address using the array name %u\n", ar); printf("Address of the first element %u\n", &ar[0]); printf("Address using pointer variable %u\n", arptr); for (i=0; i<10; i++) ar[i] = i+5; for (i=0; i<10; i++) printf("Array element using pointer %d\n", arptr[i]); return 0; }