D LanguageMemory & Pointers


Syntax

  • &<variable> - access by reference (=gets the pointer to the data of the variable)
  • *<variable> - deference operator (=gets the data object from a pointer)
  • <type>* - data type that points to <type> (e.g. `int*)