Why would one use pass by reference instead of pass by value?
Anonymous
Passing by reference allows a function to manipulate multiple arguments beyond the local scope, which can be useful when the function needs to return or modify multiple elements.
Check out your Company Bowl for anonymous work chats.