Initialize arrays
Implement the following functions:
int main();
void zeros(int* array, int count);
void ones(int* array, int count);
void range(int* array, int count);
zeros(.)
gets an array and the number of its elements. It
should set each element to zero. ones(.)
does the same as
zeros, but sets each value to one. range(.)
sets the
array to 0, 1, 2, 3, ..., count-1
Do not implement main(.)
in the source file containing the
above functions.
In a separate file called main.c, implement main(.)
to initialize an array, call each of the
above functions and print the array right after each function call.
Name the source file: initialize_arrays.c