On this page
  1. c/pointers_and_memory
  2. Topics

c/pointers_and_memory

Prev: fundamentals | Up: c | Next: stdlib
Rel: Pointers & Indirection, Call Stack & Heap, Memory Management Models
Ref: cppreference — C Memory Management
Tags: #public #prog #c #pointers #memory #index


Topics

  1. Pointers & Pointer Arithmetic — &, *, scaled pointer arithmetic, const qualifiers, void *, and double pointers.
  2. Dynamic Memory & Allocators — malloc, calloc, realloc, free, flexible array members, and ownership conventions.
  3. Function Pointers & Callbacks — Callback signatures, qsort, and vtable-style polymorphism in C.
  4. Undefined Behavior & Sanitizers — Common UB traps and catching bugs with -Wall -Wextra -fsanitize=address,undefined.

Linked from

Related notes