Consider the following prototypes.
/* Add the elements of V */ int sumElements(const int v[], int n) ; /* Generate a histogram from dice */ void generateDiceHistogram(const int dice[5], int histo[6]) ; /* Find largest element in array */ int findMaxElement(const int v[], int n) ; /* Count number of times an elements appears in the array */ int countInstances(const int v[], int n, int e) ;