...

/

The Heap

The Heap

Learn about heap memory that's available for use when a C program is run.

We'll cover the following...

What’s a heap?

The heap is a region of your computer’s memory that is not managed automatically for you, and is not as tightly managed by the CPU. It is a more free-floating region of memory (and is larger).

The stack and heap sizes are initially set (typically by the operating system) when the program runs. Unlike the ...