all.c 266 B

12345678910111213
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void) {
  4. FILE *f = fopen("stdio/stdio.in", "r");
  5. printf("%c\n", fgetc(f));
  6. ungetc('H', f);
  7. char *in = malloc(30);
  8. printf("%s\n", fgets(in, 30, f));
  9. setvbuf(stdout, 0, _IONBF, 0);
  10. printf("Hello\n");
  11. return 0;
  12. }