Concept Flow - Passing parameters by reference
Function call with variable
Parameter receives reference
Function modifies parameter
Original variable changed
Function returns
Program continues with updated variable
When a function parameter is passed by reference, the function works directly with the original variable, so changes inside the function affect the original.