Global Relay interview question

Difference between pass by value vs pass by reference? Which OS do you prefer