Question: 5) Write a function func2 that takes one integer argument (pass by reference), doubles it, and gives back the result in the pass by reference
5) Write a function func2 that takes one integer argument (pass by reference), doubles it, and gives back the result in the pass by reference variable. 6) Complete an example of calling func2 from main(). Declare and use any variables you need. nt main) // call func2 here and display the result
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
