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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.