Concept Flow - Parameter passing mechanisms
Start Function Call
Evaluate Arguments
Pass Parameters to Function
Pass by Value
Copy of Value
Function Uses Copy
Pass by Reference
Address Passed
Function Uses Original
Pass by Value-Result
Copy Passed In
Copy Returned Out
Pass by Name
Expression Substitution
Evaluate in Caller Context
Function Ends
Return to Caller
This flow shows how arguments are evaluated and passed to functions using different mechanisms, affecting whether the function works on copies or original data.