I'm trying to use a for loop to go through each index of an array and get averages for the total array. I need to do with on 8 arrays so I need to also use a global array to store the averaged values.
How do i use global variables in C functions or declare them in C Functions?