I'm learning how to use pointers in C, but my textbook doesn't do a good job explaining them.
Given a pointer int * ptr; what is the difference between:
ptr=
*ptr=
&ptr=
also when using scanf should I use scanf("%d",&ptr) or scanf("%d",ptr)?