what do you mean by memory management operators

Answers were Sorted based on User's Feedback



what do you mean by memory management operators..

Answer / rasool

Memory management in C++ is normally done using
keywords 'new' and 'delete'.
'new' takes the place of 'malloc' and 'delete' for 'free'.

http://publib.boulder.ibm.com/infocenter/lnxpcomp/v7v91/inde
x.jsp?
topic=/com.ibm.vacpp7l.doc/language/ref/clrc05cplr199.htm

might speak more.

Is This Answer Correct ?    23 Yes 3 No

what do you mean by memory management operators..

Answer / 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

what do you mean by memory management operators..

Answer / snigdhadeb

Memory management operators are "new" and "delete".

Is This Answer Correct ?    4 Yes 1 No

what do you mean by memory management operators..

Answer / jayaseelan

it is a storage device is caled memory.maintain memory is
memory management

Is This Answer Correct ?    4 Yes 3 No

Post New Answer

More C++ General Interview Questions

Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

0 Answers  


How can virtual functions in c++ be implemented?

0 Answers  


Write a program to find the Factorial of a number

0 Answers  


What is lambda in c++?

0 Answers  


How to declare a function pointer?

0 Answers  


Differentiate between late binding and early binding. What are the advantages of early binding?

0 Answers  


Why do we use double in c++?

0 Answers  


What is null pointer and void pointer?

0 Answers  


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

0 Answers  


What is a set in c++?

0 Answers  


What is the precedence when there is a global variable and a local variable in the program with the same name?

0 Answers  


3- Write a program to find larger and smaller of the two numbers.

4 Answers   Luminous,


Categories