PayPal interview question

What's different between passing by value, by reference or by pointer if calling the function with wrong type of object