I'm having trouble interpreting this sentence into code: A function called max_occurences() that has a pointer to an array of struct occurrences as an argument.
My understanding is that they mean something like this:
int max_occurences(struct occurrence *occurrences[])
But this appears to be wrong. Can someone help me understand what it's suppose to look like? I'm really confused.
*or the[]. You may also want to pass a length value to indicate how many items are in your array. Unless of course its terminated with some sort of sentinel value.