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

what is difference between internet and Internet?

12 Answers   College School Exams Tests, Microsoft, MIT, TCS,


Is c++ vector dynamic?

0 Answers  


class basex { int x; public: void setx(int y) {x=y;} }; class derived : basex {}; What is the access level for the member function "setx" in the class "derived" above? a) private b) local c) global d) public e) protected

3 Answers   Quark,


Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()

0 Answers  


What is the difference between *p++ and (*p)++ ?

0 Answers  






What are shallow and deep copy?

0 Answers  


How long it will take to learn c++?

0 Answers  


What do you mean by persistent and non persistent objects?

1 Answers  


What are the five basic elements of a c++ program?

0 Answers  


Are there any new intrinsic (built-in) data types?

1 Answers  


What is the need of a destructor? Explain with the help of an example.

0 Answers  


why is iostream::eof inside a loop condition considered wrong?

0 Answers  


Categories