1. Heap and Stack, one Minimalist heap Allocator

    Introduction to the Heap What is the Heap? The heap is a region of memory used for dynamic memory allocation — memory that is allocated and freed at runtime rather than at compile time. In C, you access the heap using: malloc() / calloc() / reallo...

    C
    阅读全文 »