answersLogoWhite

0

What else can I help you with?

Related Questions

Which command displays amount of total and available memory?

You can use the DOS command MEM to show total and available memory, but it only shows the memory for the process that is running the command shell. It will not show the memory in terms of Windows, nor will it work at all for Windows 7.


Where the Memory is allocated for a variable in a program?

if a variable is of value type memory is allocated on stack memory.. if it is of reference type,memory is allocated on heap memory..


In what are various cells of memory allocated consecutively?

Contiguous memory address are allocated to an array or vector.


Why is not possible to enforce memory protection at compile time?

This cannot be done at compile time because the memory allocated to a process is subject to change.


How system knows what range of memory it has allocated while using free?

use free() how does the system know what range of memory it has allocated use free() how does the system know what range of memory it has allocated


Memory is allocated in 4k segments called what?

Memory page.


Where the heap memory is allocated in c?

Main Memory (RAM).


What is the maximum size of memory available for dynamic memory allocation?

The maximum memory that can be dynamically allocated depends on the size of the heap memory. Dynamic blocks of memory can be allocated in system heap until it is not full.


Max memory allocated by malloc in c?

Memory is allocated by malloc from the heap.... so max mem = size of heap that is free...


Is memory allocated for instance methods for each instance method call?

No! Instance methods are allocated memory at first time only.


Is memory allocated at runtime for the static variables?

No. Static memory is allocated at compile time. Static variables are allocated within the program's data segment which is a physical part of the executable. When you load the executable into memory, the operating system sets aside enough memory for the entire executable and copies it, byte for byte, into that memory. So when the program is executed, the data segment is already allocated.


What do you mean by run time memory allocation?

When the allocation of memory to the program is done on need, during the execution of a program, it is called as the dynamic memory allocation. Memory is allocated from a free memory pool called as heap.The only way to access this dynamically allocated memory is through pointers. Dynamically allocated memory can be freed at run time and again added to heap.