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 |
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
How can virtual functions in c++ be implemented?
Write a program to find the Factorial of a number
What is lambda in c++?
How to declare a function pointer?
Differentiate between late binding and early binding. What are the advantages of early binding?
Why do we use double in c++?
What is null pointer and void pointer?
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)
What is a set in c++?
What is the precedence when there is a global variable and a local variable in the program with the same name?
3- Write a program to find larger and smaller of the two numbers.