what do you mean by memory management operators
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / snigdhadeb
Memory management operators are "new" and "delete".
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / jayaseelan
it is a storage device is caled memory.maintain memory is
memory management
Is This Answer Correct ? | 4 Yes | 3 No |
what is difference between internet and Internet?
12 Answers College School Exams Tests, Microsoft, MIT, TCS,
Is c++ vector dynamic?
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
Which is not an ANSII C++ function a) sin() b) tmpnam() c) kbhit()
What is the difference between *p++ and (*p)++ ?
What are shallow and deep copy?
How long it will take to learn c++?
What do you mean by persistent and non persistent objects?
What are the five basic elements of a c++ program?
Are there any new intrinsic (built-in) data types?
What is the need of a destructor? Explain with the help of an example.
why is iostream::eof inside a loop condition considered wrong?