What is the output of the following program?
#include <iostream>
void figure_me_out(int& x, int y, int& z);
int main( )
{
using namespace std;
int a, b, c;
a = 10;
b = 20;
figure_me_out(a, b, c);
cout << a << " " << b << " " << c;
return 0;
}
void figure_me_out(int& x, int y, int& z)
{
using namespace std;
cout << x << " " << y << " " << z << endl;
x = 1;
y = 2;
z = 3;
cout << x << " " << y << " " << z << endl;
}