C program to print address of variable along with its value

C program to print address of variable along with its value

Input:

Enter an integer value:
10

Output:

The address of 'n' is bfbf916c
The value stored at bfbf916c is 10

Implementation: