Program to acess the variable through pointer
STUDY EVERTHING
#include<stdio.h>
#include<conio.h>
void main( )
{
int x=50, y; int *ptr;
ptr = &x;
y = *ptr;
printf("\n %d is stored at address: %u",x, &x);
printf("\n %d is stored at address: %u",x, &x);
printf("\n %d is stored at address: %u",x, &x);
getch();
}