You can allocate memory at run time within the heap for the variable of a given type using a special operator in C++ which returns the address of the space allocated . This operator is called new operator.
You can allocate memory at run time within the heap for the variable of a given type using a special operator in C++ which returns the address of the space allocated . This operator is called new operator.