int main (void) { while(1) { // clear arrays averagedArrays = 0; // load arrays with number + random noise for (i = 0; i <= (BUFFER_SIZE-1); i++) { arrayA[i] = 0x0100 + (rand() & 0x001F); arrayB[i] = 0x0040 + (rand() & 0x000F); } // Exercise 1: sum the arrays and find the average averagedArrays = average(arrayA, arrayB, BUFFER_SIZE); } }