read numbers from file using getf in C code example Example: c read numbers from file change to fscanf(myFile, "%1d", &numberArray[i]);