Using references (&) or pointers to allow a function to modify original variables.
Pass by Reference
C++ Masterclass: From Zero to Hero
C++ Masterclass: From Zero to Hero
Using references (&) or pointers to allow a function to modify original variables.