Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
bgColor#FFCCCC
char input[1000];
if (fgets(input, sizeof(input)-1, stdin); == NULL) {
  /* handle error */
}
input[sizeof(input)-1] = '\0';
fprintf(stdout, input);

...