Question: Q 2 . ( 3 0 points ) Determine the output of the following progtam ( written in a C like language ) for the
Q points Determine the output of the following progtam written in a C like language for the
following parameter passing mechanisms. Assume var increments the variable and then gives the
reference of the variable. In other words, it can be used as an lvalue
int ;
void aFunint int b
at;
b;
;
;
print ;
int main
int ;
aFun;
print ;
arun;
print ;
a pts Pass by Value output
b Pass by Reference out put?
c pts Pass by Name output?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
