| C++ Program Design, 3/e James P. Cohoon,
University of Virginia Jack W. Davidson,
University of Virginia
The class construct and object-oriented design
Chapter ObjectivesUpon completion of this chapter the student will understand and be able to utilize the following key concepts:
Reference parameters are a way to pass objects to functions so that they can be modified by the called function
and the modified value passed back to the calling function. |
| | | Const parameters cannot be changed during the invocation of the function. |
| | | C++ also allows the user to define default parameters for functions. |
|