← Quiz: Processes and Threads: all 10 questions
Quiz: Processes and Threads · Question 9 of 10
Which part of a process's memory holds objects allocated while the program runs (for example with malloc)?
Which part of a process's memory holds objects allocated while the program runs (for example with malloc)?
- A.Code (text)
- B.Stack
- C.Heap
- D.PCB
Answer & explanation
Correct answer: Heap
The heap grows as the program allocates memory at run time; the stack holds function calls and local variables.
Can you get the rest right without peeking?
Take the timed Quiz: Processes and Threads quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →