int a; //Let say we declare variable. Line1
a=20; //Assigned the value to it. Line2
int p; //Pointer declared. Line3
p=&a; //Stores address of variable a Line4*
Now, can anyone tell me.
Line 1: What is the address of a. Means how it gets stored.
Line2: What will be the change in it. How storage works?
At total I want to know. Variable is stored where? Not the value of variable. It just looks like variable is also working as reference.
And variable existence diminished after the variable value is assigned the address.
Because I have never seen anyplace where it shows that the variable is stored here, and it's value here.
But when we use that variable it uses it?