CSCI 3155, Quiz 3 20 minutes 1. [6 points] Give an example that demonstrates the difference between parameter passing by reference and parameter passing by value. Your answer should take the form of a code segment which if executed with pass-by-reference would produce one answer and if executed with pass-by-value would produce another answer. Provide a brief explanation of why your code produces different results with pass-by-value and pass-by-reference 2. [4 points] C++ and Modula-3 provide both pass-by-value and pass-by-reference. Explain why these languages provide both modes rather than just pass-by-value or pass-by-reference.