Tuesday 9 April 2013

Where is the auto variables stored?

Where is the auto variables stored?
Ans: Auto variables can be stored anywhere, so long as recursion works. Practically, they’re stored on
the stack. It is not necessary that always a stack exist. You could theoretically allocate function invocation records from the heap.



Blog Author: Vijay Kumar

No comments:

Post a Comment