what do you mean by memory management operators

Answer Posted / achal ubbott

by memory management it means allocating memory(space) to
objects. This is done by new and delete operators. These 2
operators are exception to the rules of operator
overloading.
e.g. char *p = new char[100]; // allocation
delete[] p; // dealloaction free the memory space
from heap section of memory.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many static variables are created if you put one static member into a template class definition?

662


Is map sorted c++?

621


Do vectors start at 0 c++?

633


How would you call C functions from C++ and vice versa?

735


How many namespaces are there in c++?

643






What is the return value of the insertion operator?

714


What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.

671


What is #include cmath?

734


What are the basic data types used in c++?

658


Do vectors start at 0?

672


what are function pointers?

664


What is a constructor in c++ with example?

670


Define a pdb file.

731


Write some differences between an external iterator and an internal iterator?

677


What do you mean by public protected and private in c++?

696