Consider the following program written in C syntax:
Void fun (int first, int second) {
First += first;
Second += second;
}
Void main() {
Int list [2] = {1,3};
Fun(list[0], list[1]);
}
For each of the following parameter-passing methods, what are the values of the list array after execution?
a. Passed by value
b. Passed by reference
c. Passed by value-result