Results for: Stack-based-memory-allocation

What is memory allocation?

  Memory allocation is the act of reserving a chunk of memory for some set of data. In programming terms, this is normally done by declaring a variable. Large arrays of da (MORE)

What do you understand by static memory allocation and dynamic memory allocation?

As to physical memory: Static memory will store its data as long as power is available. It is commonly used with a battery to retain small amounts of data when the main power (MORE)

What is contiguous memory allocation with memory protection?

Memory allocation: When a program asks for memory and gets it.    Contiguous allocation: When the memory is in one big block, for example memory addresses 1000-2000, as (MORE)

How useful is dynamic memory allocation?

Dynamic memory allocation has its positive sides as well as drawbacks. It works great when you know how to manage memory. It allows you to reserve space in memory which can re (MORE)

What is contiguous memory allocation in os?

Memory allocation: When a program asks for memory and gets it. Contiguous allocation: When the memory is in one big block, for example memory addresses 1000-2000, as opposed (MORE)

What is dynamic memory allocation?

Answer . Often an application needs additional memory for the temporary storage of data. For example, the C programming language allows the programmer to use the MALLOC (me (MORE)

What are dynamic memory allocation advantages?

The advantage of dynamic over static memory allocation is twofold: first, it allows supporting applications and algorithms without predicting the exact amount of memory requir (MORE)