PLEASE help!!!

I really need some help with this program.

Function 1.
In statistics, the mode of a set of values is the value that occurs most often or with the greatest frequency.

Write a function that accepts the following:

1. An array of positive integers
2. An integer that indicates the number of elements in the array The function should determine the mode of the array (which value in the array occurs most often).
The function should return that value. If the array has no mode, the function should return a -1.
Use pointers instead of subscript notation.

Function 2. Write a function that accepts the array of positive integers, and then reverses the array.
What do you have so far?
I dont know where to start
How can I start it?
closed account (D80DSL3A)
Can you pass a pointer to an array to a function?
int findMode(int* pArray, int size);
Topic archived. No new replies allowed.