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.
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.
It will give stack overflow error. Or it will fail the new heap memory allocation functions like malloc().