Where is the auto variables stored?

Long Answer
Views 1029

Answer:

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 exists. You could theoretically allocate function invocation records from the heap.

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.