Question: Please use pointer notation Not array notation C++ ode Function values is the valuerguments the following n statistics, the mode of a set of values
ode Function values is the valuerguments the following n statistics, the mode of a set of values is the value that occurs most often or with greatest frequency. Write a function that accepts as arguments the following A) An array of integers B) An integer that indicates the number of elements in the array The function should determine the mode of the array. That is, it should determ ch value in the array occurs most often. The mode is the value the functin uld return. If the array has no mode (none of the values occur more than once tion should return -1. (Assume the array will always contain nonneg values.) Demonstrate your pointer prowess by using pointer notation instead of in this function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
