5 main(int arc
, char *argv
[])
10 FILE *fp
= fopen ("/dev/null", "r");
13 res
= fscanf(fp
, "%n", &val
);
15 printf("Result of fscanf %%n = %d\n", res
);
16 printf("Scanned format = %d\n", val
);
19 printf("Result of fscanf \"\" = %d\n", res
);
23 res
= fscanf(fp
, "BLURB");
24 printf("Result of fscanf \"BLURB\" = %d\n", res
);