HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Which part of the computer allocates memory in RAM?

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
allocatesthepartcomputermemorywhichram

Problem

When we declare a variable there will be a random part of memory will be allocated in RAM. Which component will allocate the memory? Is the processor or any other specific hardware doing the allocation?

Solution

It is a combination of the standard C library (usually) and the operating system. No hardware is involved. Check out this answer on stackoverflow for more details.

Context

StackExchange Computer Science Q#21378, answer score: 2

Revisions (0)

No revisions yet.