answersLogoWhite

0

Memory leaking in C++, or in any language that supports dynamic memory allocation, is a failure to release memory when its use is no longer required. This causes the memory image of the process to grow, sometimes without bounds, ultimately causing process failure due to memory exhaustion.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the memory management operator in c plus plus?

There is no memory management operator in C++ -- it is an unmanaged language. You use the C++ new operator to allocate memory, and use the C++ delete operator to release previously allocated memory.


Which operator is used for deallocating memory in c plus plus?

delete


What are new and delete operators in c plus plus?

New and Delete are the memory management operators in c++,like c language we use malloc() and calloc() functions to allocate memory and free() functiong to release the memory similarily we use new to allocate memory in C++ and Delete to release the allocated memory....


What is an address in C plus plus programming?

An address in C or C++ is the location in memory of an object or function. An address is the contents of a pointer, as opposed to the contents of the memory location pointed to by the pointer.


How do you calculate the size of a class in memory in C plus plus?

Use sizeof( ).


What is a distructor in c plus plus?

A destructor destroys an instance of a class to free up memory.


What are the storage allocation in C plus plus?

They mostly deal with pointers and new operators in memory.


What is the operator is used to allocate the memory in c plus plus?

calloc operator,malloc operator


What is a scatter file in c or c double plus programming?

helps you to organise the memory as you want


How many classes can we write in a single c plus plus program?

Its limited only by available memory.


What is the strength of c plus plus?

Ease of use (after the learning curve, of course), performance and efficient use of memory.


What are the popular tools used to detect memory leaks in c plus plus?

See related links, below.