reference parameter « Function « C++ Tutorial






7.4.reference parameter
7.4.1.Using a reference parameter.
7.4.2.Use reference parameters to create the swap() function.
7.4.3.Pass by reference by using pointer
7.4.4.Pass by reference using references
7.4.5.Returning multiple values from a function using references
7.4.6.Passing references to objects