Home Links

When you start a C++ program, the compiler sets aside memory for:

The rest of the computer’s memory is available for other uses; it’s “free”. This “free store” (heap) is available through the keyword new.

This is one perspective/model of computer memory. There’s other models that for example yield categories like RAM/ROM based on the persistence of memory, speed of access (read/write) etc.

new

Fork me on GitHub