Get Programming and Problem Solving with C++: Brief Edition, 5th Edition now with O’Reilly online learning.
O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.
Scope, Lifetime, andMore 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.