Question: 1. Write code for a function that receives two parameters (a,and b) by value and has two more parameters (c and d) by reference. All
1. Write code for a function that receives two parameters (a,and b) by value and has two more parameters (c and d) by reference. All parameters are double. The function works by assigning c to (a/b) and assigning d to (a*b).
From main, use scanf to get two numbers, then call the function, and then display both returned values to the output in a printf statement.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
