Question: Problem 5. [20 pts] Given the following function and main program int operation (int a int & b, int c) int r (a 1) 2;
![Problem 5. [20 pts] Given the following function and main program](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f39d47098c9_54266f39d46843cc.jpg)

Problem 5. [20 pts] Given the following function and main program int operation (int a int & b, int c) int r (a 1) 2; return (r) int main int i [2], j 2, k 3; cin i [0]; i [1] i) cout operation (i, j, k) j k; return 0; 5.a [4 pts] Is the argument a passed by value or reference? Answer: 5.b [4 pts] is the argument b passed by value or reference? Answer: 5.c [4 pts] is the argument c passed by value or reference
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
