Skip to content

Instantly share code, notes, and snippets.

@profnandaa
Last active October 21, 2023 03:55
Show Gist options
  • Save profnandaa/8bdb80da4629954aa18db0adf889d482 to your computer and use it in GitHub Desktop.
Save profnandaa/8bdb80da4629954aa18db0adf889d482 to your computer and use it in GitHub Desktop.
Pointers Dimistified - "From Zero to Hero"

C/C++ Pointers Dimistified

Pointers are variables that store the address of another variable.

add diagram here

Outline:

  • Declaring pointers
  • Dereferencing pointers
  • Pointers and Arrays
  • Hungarian Notation and pointers
  • Pointer of pointers (...xN)
  • Incrementing pointers

Rodney's Challenge:

void allocate(char*** pppArray, int nSize, char* szName, int nLoc) {
  // implement
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment