Write two functions with identical implementations but different signatures that demonstrate the difference of passing parameters by value and by reference. Get input from the user and show what happens to the input when the two different functions are called.