1 | #include <stdio.h> |
---|---|
2 | #include <stdlib.h> |
3 | |
4 | int |
5 | main (int argc, char **argv) |
6 | { |
7 | char buffer[1024]; |
8 | |
9 | fgets (s: buffer, n: sizeof (buffer), stdin); |
10 | fprintf (stdout, format: "%s", buffer); |
11 | |
12 | |
13 | fgets (s: buffer, n: sizeof (buffer), stdin); |
14 | fprintf (stderr, format: "%s", buffer); |
15 | |
16 | return 0; |
17 | } |
18 |