You really only need one char array, say char C[10] and an int n for counting.
Then one function (or memset) to make all zero, before reading up to next 10 chars.
The fread function should read in max 10 chars and set n to number of chars read.
For ASCII sum, the function should look like:
int sumchars(char* arr, int n){}
Then use for loop like you have to add up the chars.
Another way is to make your char array with 11 elements and always set last element to zero.
Then, your method can sum chars while *arr is not equal to zero.