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 |
whats the size of class EXP on 32 bit processor? class EXP { char c1; char c2; int i1; int i2; char *ptr; static int mem; };
What happens when you make call 'delete this;'?
Write a recursive program to calculate factorial in c++.
Explain what are single and multiple inheritances in c++?
What are the different types of comments allowed in c++?
What are the benefits of operator overloading?
What is an arraylist c++?
Is it possible to provide special behavior for one instance of a template but not for other instances?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What is a class definition?
Write about c++ storage classes?
Can member functions be private?