3 int main(int argc
, char const *argv
[]) {
4 printf("Hello world.\n"); // Set breakpoint here
6 if (fgets(line
, sizeof(line
), stdin
)) {
7 fprintf(stdout
, "input line to stdout: %s", line
);
8 fprintf(stderr
, "input line to stderr: %s", line
);
10 if (fgets(line
, sizeof(line
), stdin
)) {
11 fprintf(stdout
, "input line to stdout: %s", line
);
12 fprintf(stderr
, "input line to stderr: %s", line
);
14 if (fgets(line
, sizeof(line
), stdin
)) {
15 fprintf(stdout
, "input line to stdout: %s", line
);
16 fprintf(stderr
, "input line to stderr: %s", line
);
18 printf("Exiting now\n");