Allocating memory in code

C++ defines two operators, new and delete, that allocate memory from the free store and release memory back into the free store.

Get Beginning C++ Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.