Question: Consider the program below. Trace the code by hand and specify what the output would be if the user enters 1 2 and 1 4
Consider the program below. Trace the code by hand and specify what the output would be if the user enters and respectively, in fun when prompted.
#include
using namespace std;
void funint& int&;
void funint& int& int&;
void funint int, int;
int main
int x y z ;
cout x y z endl;
funx y;
cout x y z endl;
funx y z;
cout x y z endl;
funx y z;
cout x y z endl;
return ;
void funint& a int& b
cout "Enter two integers? ;
cin a b;
void funint& a int& b int& c
b;
c;
a b c;
void funint a int b int c
a b c;
Group of answer choices
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
