Is a call to a void function used as a statement or is it used as an expression? What is the output of the following program? #include void figureMeOut(int& x, int y, int& z); int main() { using...



Is a call to a void function used as a statement or is it used as an expression?





What is the output of the following program?


#include


void figureMeOut(int& x, int y, int& z);


int main()


{



using namespace std;



int a, b, c;



a = 10;



b = 20;



c = 30;



figureMeOut(a, b, c);



cout <><><><>



return 0;


}


void figureMeOut(int& x, int y, int& z)


{



using namespace std;



cout <><><><><>



x = 1;



y = 2;



z = 3;



cout <><><><><>


}



May 19, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here