Firstly, I regret my poor English, this is not my first language.
This is my first time I have studied pointers and I have found something really strange.
In the book I am reading, marker *means a variable labeled "pa".
But when I try to initialize a pointer
int a;
int *pA =&a;
(in this case they used *pA) and then changed it,
* pA = & a;
not working as well
pA = & a;
work.
So my query is: "Is there a difference between initializing pointers and just replacing?"
source
share