Thursday, May 8, 2014

reference operator (&) dereference operator (*)

  • The reference operator (&) returns the memory address of a normal variable. This is how you create pointers.
  • The dereference operator (*) returns the contents of a pointer’s memory address.