How allocate memory dynamically in C++ explain with example?

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.

Sizin İçin Seçtik  What is dynamically memory allocation?

Leave a Reply

Your email address will not be published. Required fields are marked *