C Program to illustrate basic concept of pointers

Program

#include<stdio.h>
void main()
{
	int i = 3;
	printf("Value of i = %d\n", i);
	printf("Address of i = %u\n", &i);
}

Output

Value of i = 3
Address of i = 3925247708