Overview
Why use pointers?

What's a pointer?

Declaring pointers

Initializing/Setting pointers

Pointer operators

Pointer arithmetic

Pointers as parameters

Pointers vs. arrays

Array of pointers

Function pointers

 


    Why use pointers?

  • Create and manipulate dynamic data structures
  • Connect data structures in memory (lists, stacks, trees, ...)
  • Efficiently pass structures to a function
  • Concise and efficient structure access