Home Segments Top Top Previous Next

136: Mainline

Parameters and local variables are said to have local scope, because both parameters and local variables can be evaluated and assigned only in the statements that appear in the block in which those parameters and local variables are declared.

Parameters and local variables are said to have dynamic extent, because the memory allocated for parameters and local variables is reallocated as soon as the corresponding block's execution is complete.