4 main(int arc
, char *argv
[])
9 FILE *fp
= fopen ("/dev/null", "r");
12 res
= fscanf(fp
, "%n", &val
);
14 printf("Result of fscanf %%n = %d\n", res
);
15 printf("Scanned format = %d\n", val
);
18 printf("Result of fscanf \"\" = %d\n", res
);
22 res
= fscanf(fp
, "BLURB");
23 printf("Result of fscanf \"BLURB\" = %d\n", res
);