We trace recursion using an internal stack.How can we relate this to an activation record **?i.e I want to know the relation** between an internal stack and an activation record.
inspire_all
-4
Newbie Poster
Recommended Answers
Jump to PostThe relation is that the record is stored on the stack.
PS: This happens for all function calls (that aren't inlined by the compiler), not just recursive ones.
Jump to Postwhat is meant by static scope and dynamic scope?
The scope affects whether a given variable can be accessed from a given location in the code and, if there are multiple variables with the same name, which one is meant by a given use of the name.
Using …
All 6 Replies
sepp2k
378
Practically a Master Poster
inspire_all
-4
Newbie Poster
inspire_all
-4
Newbie Poster
sepp2k
378
Practically a Master Poster
inspire_all
-4
Newbie Poster
sepp2k
378
Practically a Master Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.