SyntaxFix
Write A Post
Hire A Developer
Questions
for (i = 0; i < 16; i++) { fscanf(myFile, "%d", &numberArray[i]); }
This is attempting to read the whole string, "5623125698541159" into &numArray[0]. You need spaces between the numbers:
"5623125698541159"
&numArray[0]
5 6 2 3 ...