When an array is passed as a parameter to a function which of the following statements is correct?
A. The function can change values in the original array.
B. The function cannot change values in the original array.
C. Results in compilation error.
D. Results in runtime error.
Answer:A
When an array is passed as a parameter to a function which of the following statements is correct?
A. The function can change values in the original array. B. The function cannot change values in the original array. C. Results in compilation error. D. Results in runtime error.