Data Strucure in C
CtrlK
  • Week01 Memory Allocation Notes
    • Vector and Set Implementation
  • Week01 Lab Notes
    • Object Oriented C Programming
  • Week02 List Notes
    • How Deque is Implemented in C++:
    • Circular Doubly Linked List using Sentinel
  • Week02 Lab Notes
    • Are You Going to Write A Script Interpreter for the Language Design Module ?
  • Week03 Tree Notes
  • Week03 Lab Notes
  • Week 04 Graph Notes
  • Week04 Lab Notes
  • Week 05 Graph Notes
  • Week05 Lab Notes
  • Week06 Hashing Notes
  • Week06 Lab Notes
  • Week07 Notes
  • Week07 Lab Notes
    • Week07 Complexity Analysis
  • Week09 notes
  • Week09 Lab Notes
    • Import bookshop database with pqAdmin
    • psql console
  • Week 10 Lab Notes
Powered by GitBook
On this page
  • Tutorial on malloc, calloc, realloc, free
  • Further Reading
  • C/Linux Program Memory Model (but upside-down)
  • More detailed Stack and Heap on Linux
  • mm_struct

Week01 Memory Allocation Notes

Tutorial on malloc, calloc, realloc, free

LogoDynamic Memory Allocation in C using malloc(), calloc(), free() and realloc() - GeeksforGeeksGeeksforGeeks

Further Reading

C/Linux Program Memory Model (but upside-down)

More detailed Stack and Heap on Linux

mm_struct

The linux kernel uses the mm_struct data structure to point to those memory sections.

NextVector and Set Implementation

Last updated 6 months ago