Consider the following C program void fint x int y int z x
     Consider the following C++ program:  void f(int x, int y, int z)  {x = 1;  z-x+y;}  main ()  {int m = 2, n = 1;  f (m, m, n);}  What are the final values of m and n if all parameters of (x, y, and z) are passed by:  value  value-result (values copied left-to-right)  value-result (values copied right-to-left)  reference  name using namespace std;  // main() is where program execution begins.  int main() {    cout << \"Hello World\"; // prints Hello World    return 0; }  
 
   
  Solution
#include
