New Operator | Learn CPlusPlus
The new operator in C++, denotes a request for memory allocation on the free memory. If there is sufficient memory, a new operator initializes the memory and returns the address of the newly allocated and initialized memory to the pointer variable. If you want to explore more about New Operator, take a look at this website.