Code:
#include<stdio.h>
main ( )
{
    int i = 1;
    int *p=&i;
    q=p;
    int *q = 5;
    printf("%d \n",*p);
}