this is what i have been given
Code:
//global data variables
#define ARRAY_LEN 1000000
int array[ARRAY_LEN];
int maxNum, minNum;
#include <pthread.h>
int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void*), void *arg);
//void findMax() - assign the max. number to above maxNum
//void findMin() - assign the min. number to above minNum
//complete the main program, find MM.c