When an array is passed as parameter to a function, which of the following statement is correct choice:
A. The function can change values in the original array
B. In C parameters are passed by value. The funciton cannot change the original value in the array
C. It results in compilation error when the function tries toaccess the elements in the array
D. Results in a run time error when the funtion tries to access the elements in the array
Answer:A
When an array is passed as parameter to a function, which of the following statement is correct choice:
A. The function can change values in the original array B. In C parameters are passed by value. The funciton cannot change the original value in the array C. It results in compilation error when the function tries toaccess the elements in the array D. Results in a run time error when the funtion tries to access the elements in the array