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 |
Explain binary search.
What is &x in c++?
Implement a 2 dimensional array by one dimentional array
How do we balance an AVL Tree in C++?
What is difference between rand () and srand ()?
Explain what you mean by a pointer.
How do I use turbo c++?
Write a program to calculate the following i want a c++program for this condition 1+4+9+16+….+100 Like this (1^2+2^2) Hint use function pow(a,b)
How to declare an array of pointers to integer?
What are the basics of classifying different storage types, why?
2 Answers Astergate, Symphony,
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }