Possible Duplicate:
What's the difference between passing by reference vs. passing by value?
If I have a function that takes in some parameters and then does something with the parameters without needing to change their inherent value, is there any benefit from using pass by reference versus pass by value?