• NULL Pointers
    • To initialize a pointer variable
    • To pass a null pointer to a function argument when we don’t want to pass any valid memory address
    • To indicate the end of data structures
  • void pointers
    • A void pointer points to the memory location that may contain type-less data
    • It can only be of type void
  • Dangling pointers
    • leads to unexpected program behavior
    • leads to bugs
  • Wild Pointers

Last modified: Monday, 6 July 2026, 3:20 PM