fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. char buffer[80];
  5. char word[74]; //80-6
  6.  
  7. fgets(word, 74, stdin);
  8. snprintf (buffer, 74, "Slowo+%s", word);
  9. puts(buffer);
  10. }
  11.  
Success #stdin #stdout 0s 2160KB
stdin
asdf jkl
stdout
Slowo+asdf jkl