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