What Happens When Stack and Heap Collide

Viewed 20888

I am curious to know what happens when the stack and the heap collide. If anybody has encountered this, please could they explain the scenario.

6 Answers

It will give stack overflow error. Or it will fail the new heap memory allocation functions like malloc().

Related