title: Pointer dereference in an assignment
body: <p>I was watching a lecture and got confused at a point when professor said
  that  <code>ptr=&amp;x</code> denotes a variable <code>ptr</code> assigned the address of the variable <code>x</code>.
  And for <code>y=*ptr+1</code>  he said <code>*ptr</code> denotes the value stored at <code>x</code> (or the value of <code>x</code>).
  I became slightly confused here as <code>*ptr</code> should be pointing towards the address of <code>x</code> right, not the value stored at <code>x</code>? Can  someone please elaborate it a bit more?</p>