A function named findMax is supposed to return the largest value stored in an array of double values. Parameters for thi
Posted: Sat May 14, 2022 8:16 pm
A function named findMax is supposed to return the largest value stored in an array of double values. Parameters for this function are defined as the array of double values and the integer number of values in the array. The heading is as follows: double findMax (double arr, int sz) Which of the following would be the correct way to call the findMax function from main, given the following array definition double nums = {5.2. 12.3, 70.34): O a double largest findMaxinums), bint largest findMax (nums, 4% Oc double largest indMax nums4) Od double largest findMaxnums, 4) O double largest findMax (nums