how to read a file for a number in c code example Example: c read numbers from file change to fscanf(myFile, "%1d", &numberArray[i]);