Question: Write a program that lets the user input two integers. You want to triple both integers together in a separate function (but you can't directly
Write a program that lets the user input two integers. You want to triple both integers together in a separate function (but you can't directly return two values from the function). So pass the integers two ways by reference to the same function. Use one argument by pointer (and triple what the pointer is pointing at - the variable in main) and one argument by a reference variable (a new local name to the variable in main) so we can try both ways without any return. Print the results in main. Include the proper function prototypes.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
