Chapter 4

Pointers and Arrays

Chapter 4 handles the following subjects:

  • Arrays in C
  • Pointers in C: arrays don’t exist!
  • By-reference, By-value
  • malloc(), free()
  • Function pointers
  • Practical examples of pointers:
    • Aritmetics
    • Linked Lists
    • Swapping Values