i was wondering if someone can clarify something for me.
after declaring a pointer eg. int *p;
sometimes its assigned a value like p=x or
p=&x or *p=x
my question is this. i understand p=&x assigns the memory
address of x to p, but when do you use *p=x and
when p=x ?
i am doing a lot of exercises mechanically while not fully digesting this, and its bugging me.
thnx in advance..