There are three ways in C++ to pass arguments to a function—pass-by-value, pass-by-reference
with reference arguments and pass-by-reference with pointer arguments.
Chapter 6 compared and contrasted pass-by-reference with reference arguments and pass by-
value. Here, we explain pass-by-reference with pointer arguments