Chapter 9

Functions

Chapter Objectives

By the end of the chapter, readers will be able to:

images  Understand the concept of a function.

images  Understand the advantages and disadvantages of functions.

images  Develop programmer-defined functions.

images  Pass parameters by value and reference.

  Return values from a function.

  Understand the issues regarding variable scope. ...

Get C++: An Active Learning Approach now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.