#include int main(void) { // declare pointer and normal variables int *pToInt; int nLocation = 100; // assign address of nLocation to pToInt pointer variable // so pToInt holds nLocation address pToInt = &nLocation; // print the data stored at the pointed location printf("The data, *pToInt = %d\n",*pToInt); // print the address (in hex) where the data was stored printf("The address where the data is pointed to, pToInt = %08X\n", pToInt); printf("Verify the address where the data is pointed to, &nLocation = %p\n", &nLocation); return 0; }