 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
Identifiers
can be declared either inside a block
|
|
|
(local
variables) or outside a block (function
|
|
|
names).
|
|
|
• |
C++
has rules governing how a function may
|
|
|
access
parameters declared outside its own block.
|
|
|
• |
A
value-returning function returns a single result
|
|
|
to
the expression from which it was called.
|
|
|
• |
We’ll
look at writing user-defined value-returning
|
|
functions.
|
|