Infinite recursive function call behavior under limited memory
Filed under Morgan Stanley
The question
Given a function void func() { int arr[10]; } invoked recursively an infinite number of times within a system with 2MB of memory, explain whether the program crashes, throws an error, or continues running infinitely.
No write-up yet. Related questions below have one.
Related Morgan Stanley questions
Collected from public candidate posts and coding forums. Updated Nov 2026.