Pointer operator “*” and “&”
*p means contents of the location whose address is in p
* and & are complementary operators i.e. *&x is equivalent to x and &*p is equivalent to p
- e.g. int x,*p;
p = &x; /* valid */
*p = 3; /*valid, same as x = 3 */
p = x; /* invalid, why?*/
Pointers - why? What for?