answersLogoWhite

0

What is memory leakage in C?

User Avatar

Anonymous

17y ago
Updated: 8/16/2019

When you are using pointers and you don't free memory after you stoped using it, you loose certain amount of memory, which you cannot use and system cannot use either because it was reserved. When you work with huge amounts of memory like arrays you can run out of memory which will cause a fatal error.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What is memory leakage in terms of arrays?

leakage in arrays occur when you declare an array with big size and using only very few bytes.


What are the two common problems with pointers?

Memory leakage, problems with tracking and managing.


Is the a/c drain line clogged causing water leakage or other issues in your air conditioning system?

A clogged A/C drain line can cause water leakage and other problems in your air conditioning system.


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.


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....


Where the heap memory is allocated in c?

Main Memory (RAM).


Is C row major when it comes to memory layout?

Yes, C is row major when it comes to memory layout.


At what time the memory is allocated for variable in c and c?

Static memory allocation occurs at compile time where as dynamic memory allocation occurs at run time.


What has the author C Y Shaw written?

C. Y. Shaw has written: 'Air leakage measurements of the exterior walls of tall buildings'


What is meant by contiguous memory allocation in C?

Contiguous memory allocation in C programming refers to the assigning of consecutive memory blocks to a process. Contiguous memory allocation is one of the oldest and most popular memory allocation schemes in programming.


What shoul you do when there is a leakage of space in terms of array?

If you have a memory leak, you should find it and fix it. It is a bug. It does not matter if it is an array or not. It is still a bug, and it needs to be fixed.


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.