Question: 3 . ( 1 0 1 0 ) What's the output of the following code at each posi on . void a ( int x
What's the output of the following code at each posi on
void aint x int y
x y;
y x;
void bint x int &y
x y;
y x;
void cint x int y
if y return;
cout xy ;
cx y;
int main
int x;
int y z ;
cout xy z endl; line a
ax y;
cout x y endl; line b
bx z;
cout x z endl; line c
cx; cout endl; line d
for int i ; i ; i cx i; cout endl; line e
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
