Infinite recursive call stack behavior with local array allocation
Filed under Morgan Stanley
The question
Given a C function containing a local array of size 10 that is called recursively an infinite number of times in a 2MB memory environment, analyze whether the program produces an error, runs infinitely, or causes a crash.
No write-up yet. Related questions below have one.
Related Morgan Stanley questions
Collected from public candidate posts and coding forums. Updated Nov 2026.