Sunday, 29 September 2013

When Heap and Stack memory colloids, does the program terminate?

When Heap and Stack memory colloids, does the program terminate?

Read the below definition in a book:
"As Stack and Heap share the same memory space, if they collide then the
program will terminate."
Is it true?
And how does Stack and Heap memory "Collide"?

No comments:

Post a Comment