Question

1.Write code for a function that receives four parameters a and b by value and c and d by reference. All parameters are double. The function works by assigning (a/b) to c and assigning (a*b) to d. From main, use scanf to get two numbers, then call the function, and then display values of c and d to the output in a printf statement.