Concept Flow - new operator
Program starts
Call new operator
Allocate memory on heap
Return pointer to memory
Use pointer to access memory
Delete pointer to free memory
Program ends
The new operator allocates memory on the heap and returns a pointer to it, which you can use until you delete it to free memory.