Skip to content

Instantly share code, notes, and snippets.

@nadavmatalon
Created November 8, 2016 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nadavmatalon/025289c614cb5d3b9b6ff3a050eedbcf to your computer and use it in GitHub Desktop.
Save nadavmatalon/025289c614cb5d3b9b6ff3a050eedbcf to your computer and use it in GitHub Desktop.
Pointers & Addresses
int i = 42;
int *p = &i;
// '*' means 'points to' and '&' means 'address of' ('p' is a pointer to the address of integer 'i')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment