Possible Duplicate:
What are the differences between pointer variable and reference variable in C++?
Both performance-wise and functionality-wise?
Which means, if you want to modifiy the contents of some data pointed by some pointer during a function call, passing pointer arguments works exactly the same as passing reference arguments?