All mock tests are FREE till 31 December — register to save your progress
Unit 5 · System Software and Operating System Paper 2 CS · December 2022 (Shift 1)

Process in memory also contain the heap section. What is the use of heap section?

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: B. Dynamically allocate the memory during process run time

Explanation

The heap holds memory allocated dynamically while the process runs (malloc/new). Temporary data such as parameters and locals live on the stack.

More System Software and Operating System questions