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