3 int main(int arc
, char *argv
)
8 FILE *fp
= fopen ("/dev/null", "r");
11 res
= fscanf(fp
, "%n", &val
);
13 printf("Result of fscanf %%n = %d\n", res
);
14 printf("Scanned format = %d\n", val
);
17 printf("Result of fscanf \"\" = %d\n", res
);
21 res
= fscanf(fp
, "BLURB");
22 printf("Result of fscanf \"BLURB\" = %d\n", res
);