Why is there indirect addressing in stack dynamic variables?
Answers
Answered by
0
Explanation:
Storage bindings are created for variables when their declaration statements are elaborated
If scalar, all attributes except address are statically bound
Examples:
Local variables in Pascal and C subprograms
Locals in C++ methods
Advantages:
Allows recursion
Conserves storage
Disadvantages:
Overhead of allocation and deallocation
Subprograms cannot be history sensitive
Inefficient references (indirect addressing)
plezzzzz mark as Brainlist
Similar questions