what do you mean by memory management operators
Answer Posted / 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 |
Post New Answer View All Answers
Is facebook written in c++?
What are the uses of typedef in a program?
How do I start a c++ project?
Is turbo c++ free?
Explain how would you handle a situation where you cannot call the destructor of a local explicitly?
What is main function in c++ with example?
How do I run c++?
Define the process of error-handling in case of constructor failure?
What is the extraction operator and what does it do?
What are the characteristics of friend functions?
What is switch case in c++ syntax?
Write a Program for read a line from file from location N1 to N2 using command line arguments. Eg:exe 10 20 a.c
On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?
Is set c++?
Can we inherit constructor in c++?