Question: (Call by Reference) Rewrite the previous program in Question 7, but this time, you should use call by reference. The main() passes the two integers
(Call by Reference) Rewrite the previous program in Question 7, but this time, you should use call by reference. The main() passes the two integers using a call by value and the function MyMult passes the result using call by reference. The prototype for MyMult is provided below: void MyMult(int, int, int *);
In addition, the main() keeps reading from the keyboard until the EOF is encountered.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
