CS 3304: Comparative Languages
Names and Binding
[
Course Documents
] : [
Names and Binding
]
Previous
Contents
Next
Keyword Index
Static Lifetime
Bound to memory cells before execution begins and remains bound to the same memory cell(s) throughout execution
Examples:
All FORTRAN 77 variables
C and C++ static variables
Advantages:
Efficiency (direct addressing)
History-sensitive subprogram support
Disadvantage:
Lack of flexibility (no recursion)