7

Or it does NOT use Heap "Data-Structure". The name given to the Memory for allocation(Pool of Memory) is just known as "Heap"?

If yes, then is that any relation between Heap Data-Structure and Heap as in Pool of Memory?

Sandeep Jindal
  • 13,336
  • 17
  • 81
  • 119

2 Answers2

14

There's no relation between heap memory and heap the data structure. They just happen to share the same name.

NPE
  • 464,258
  • 100
  • 912
  • 987
0

Are you talking about the difference between heap memory and stack memory?

I would explain it, but this answer is pretty sweet

What and where are the stack and heap?

Community
  • 1
  • 1
75inchpianist
  • 4,074
  • 1
  • 20
  • 38