int * x; int v = 7;
Given this code, what is the difference between 1. x = &v , and 2. *x = v ? I understand that
x = &v
*x = v
& means address of.
&
* means value at.
*
In x = &v the address of v is assigned to x.
v
x
In *x = v - the value at x (the value at the address x) is assigned the value v.