#define ARRAY_SIZE 50
...
void fill(int a[]) {
...
for(i = 0; i < ARRAY_SIZE; i++) {
a[i] = rand() % 101;
...
}
...
int findMode(int a[])