O'Reilly logo

Programming and Problem Solving with C++, 5th Edition by Chip Weems, Nell Dale

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9

Scope, Lifetime, and More on Functions

images To know what a global reference is.

images To understand and be able to avoid unwanted side effects.

images To know when to use a value-returning function.

To be able to:

images Determine which variables in a program are local.

Determine which variables are accessible in a given block.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required