Scope, Lifetime, and More on Functions
To know what a global reference is.
To understand and be able to avoid unwanted side effects.
To know when to use a value-returning function.
To be able to:
Determine which variables in a program are local.
Determine which variables are accessible in a given block. ...