is
int *p;
p=&i; same as *p=&i
is
int *p;
p=&i; same as *p=&i
No.
Code:int *p; int a; p = &a; *p = 20; // as if you said a = 20;
This means value of p = address of iCode:p=&i;
value at the memory location where p is pointing to = address of iCode:*p=&i
http://www.learncpp.com/cpp-tutorial...n-to-pointers/