Question: Exercise 2 for Call By Reference Method for Functions Show the outputs for the variables. 1 . #include using namespace std; void figure _ me
Exercise for Call By Reference Method for Functions
Show the outputs for the variables.
#include
using namespace std;
void figuremeoutint x int & y int& z;
void main
int a b c;
figuremeoutabc; a b c
cout a b c;
end of main
void figuremeoutint x int &y int& z x y z
cout x y z;
x ;
y ; x y z
z ;
cout x y z;
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
