main serial
#include #include #include #include #include int *read_dims(char *filename); float * read_array(char *filename, int *dims, int num_dims); void *write_to_output_file(char *filename, float *output, int *dims, int num_dims); long int product(int *array, int n); int main(int argc, char *argv[]){ /*Your code goes here*/ /*Here is an example of using malloc to allocate memory for an array THIS SHOULD …