12,724 views

2 Answers

Best answer
5 votes
5 votes
When a function is recursively called, all automatic variables are initialized during each execution of the function.
selected by
0 votes
0 votes
All the local variables that are bounf to executes in its activation records will need freash allocation each and every time.

So local variables inside the each activation records needs freash allocation.

Related questions

2 votes
2 votes
3 answers
1
Laahithyaa VS asked Sep 9, 2023
934 views
. What will be the value returned by the following function, when it is called with 11?recur (int num){if ((num / 2)! = 0 ) return (recur (num/2) *10+num%2);else return 1...
1 votes
1 votes
1 answer
4
Akriti sood asked Dec 8, 2016
863 views
The same identifier X is used to represent two distinct variables in the same function in a C program, then which of the following statement is / are TRUE?S1: The lexical...