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

Explain binary search.

0 Answers  


What is &x in c++?

0 Answers  


Implement a 2 dimensional array by one dimentional array

1 Answers   CTS,


How do we balance an AVL Tree in C++?

0 Answers   Impetus,


What is difference between rand () and srand ()?

0 Answers  






Explain what you mean by a pointer.

0 Answers   TCS,


How do I use turbo c++?

0 Answers  


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)

4 Answers   HTC, TCS,


How to declare an array of pointers to integer?

0 Answers  


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?

0 Answers  


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; }

1 Answers   Quark,


Categories