Hello Guys.
Why do we prefer huge memory allocations on heap rather then on stack (I am aware of general differences between heap and stack and how allocations are done in both - stack and queue) ? This question was asked in an interview at Google.
Thanks in advance for your replies.
Regards,
Stuart.