PPL Unit-3
PPL Unit-3
Subprograms Blocks and Fundamentals of sub-programs: Scope and lifetime of variable, static and
dynamic scope, Design issues of subprograms and operations, local referencing environments, parameter
passing methods, overloaded sub-programs, generic sub-programs, parameters that are subprogram names,
design issues for functions user defined overloaded operators, co routines.
Objective: To introduce formalism for specifying syntax and semantics of programming languages.
Outcome: Gain Knowledge and comparison of the features programming languages
Scope and lifetime of variable, static and dynamic scope: