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

Explain one-definition rule (odr).

862


Explain virtual class?

778


What is an adaptor class in c++?

785


If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?

877


an operation between an integer and real always yeilds a) integer result b) real result c) float result

939


What is binary object model?

769


What are the methods of exporting a function from a dll?

849


Do class method definitions?

781


Explain the difference between using macro and inline functions?

807


Will rust take over c++?

793


Why is c++ considered difficult?

824


What is size_type?

719


What does scope resolution operator do?

795


Can c++ do everything c can?

806


What does floor mean in c++?

806