What is the advantage of the heap over a stack?

The heap is more flexible than the stack. That’s because memory space for the heap can be dynamically allocated and de-allocated as needed. However, the memory of the heap can at times be slower when compared to that stack.

0
Sujan Bk
Jan 9, 2022
More related questions

Questions Bank

View all Questions