On this page
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
- Pointers & Pointer Arithmetic —
&,*, scaled pointer arithmetic,constqualifiers,void *, and double pointers. - Dynamic Memory & Allocators —
malloc,calloc,realloc,free, flexible array members, and ownership conventions. - Function Pointers & Callbacks — Callback signatures,
qsort, and vtable-style polymorphism in C. - Undefined Behavior & Sanitizers — Common UB traps and catching bugs with
-Wall -Wextra -fsanitize=address,undefined.
Linked from
- tuts/c
- tuts/c/fundamentals
- tuts/c/fundamentals/structs_unions_and_enums
- tuts/c/pointers_and_memory/dynamic_memory_and_allocators
- tuts/c/pointers_and_memory/function_pointers_and_callbacks
- tuts/c/pointers_and_memory/pointers_and_pointer_arithmetic
- tuts/c/pointers_and_memory/undefined_behavior_and_sanitizers
- tuts/c/stdlib
- tuts/c/tutorials
- tuts/cpp/language_and_raii
Related notes
- tuts/c/pointers_and_memory/pointers_and_pointer_arithmetic Linked here; links to this page; shared tags: #c, #memory, #pointers, #prog
- tuts/c Linked here; links to this page; shared tags: #c, #index, #prog
- tuts/c/fundamentals Linked here; links to this page; shared tags: #c, #index, #prog
- tuts/c/pointers_and_memory/dynamic_memory_and_allocators Linked here; links to this page; shared tags: #c, #memory, #prog
- tuts/c/pointers_and_memory/function_pointers_and_callbacks Linked here; links to this page; shared tags: #c, #pointers, #prog
- tuts/c/pointers_and_memory/undefined_behavior_and_sanitizers Linked here; links to this page; shared tags: #c, #memory, #prog
- tuts/c/stdlib Linked here; links to this page; shared tags: #c, #index, #prog
- tuts/c/tutorials links to this page; shared tags: #c, #index, #prog
- tuts/programming/memory_and_execution/pointers_references_and_indirection Linked here; shared tags: #memory, #pointers, #prog
- tuts/c/fundamentals/structs_unions_and_enums links to this page; shared tags: #c, #prog