# include <stdio.h>
void main ()
{
FILE *fp; char str [25], str1 [25];
int x, i = 0;
fp = fopen ("format.txt", "r");
while (!feof (fp))
{
if (fscanf (fp, "%s%s%d", str, str2, &x) < 0) // NOT UNDERSTANDING
break;
printf ("%d. %s %s %d\n", ++i, str, str1, x);
}
}
Is fscanf returning something? please explain this line.