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 |
Why do we use classes in programming?
What is the outcome of cout< a) 16 b) 17 c) 16.5
Is c++ a programming language?
What is array give example?
What is a template in c++?
Can I uninstall microsoft c++ redistributable?
What is a container class? What are the types of container classes in c++?
Problem 5: Hero's Formula is A method for calculating the area of a triangle when you know the lengths of all three sides. Let a, b, c be the lengths of the sides of a triangle. The area is given by:A= pp-ap-b(p-c) | wherep= a+b+c2 | | Write a C-language code to calculate area of triangle using above method. Take the three lengths of the triangle from the user and display the area that your program calculates.
What do you mean by abstraction in C++?
What is the difference between Char a[ ]=”string” and char *a=”String”
Is overriding possible in c++?
What is the difference between reference type and pointers.