Write program to display pointers