Saturday 13 March 2021

Local Referencing Environments | Subprograms | PPL | Sebesta

                        In this post, we will see Local Referencing Environments | Subprograms | PPL | Sebesta | local referencing environments, subprograms, ppl, sebesta   

3. Local Referencing Environments


a. Nested Subprogram

    e.g. Javascript


b. External / Global Variable


c. Local Variable


- Stack Dynamic Local Variable


i. Flexibility

ii. Supports Recursion

iii. Shared Memory



i. Time to allocate and deallocate

ii. Indirect Access



- Static Local Variable



i. No time wastage for allocation and deallocation

ii. Direct Access



i. Do not support recursion

ii. Storage can not be shared

Watch following video:

Watch on YouTube:

No comments:

Post a Comment