fork(11) download
  1. #include <stdio.h>
  2. #include <string.h>
  3.  
  4. int main(int argc, char** argv)
  5. {
  6. char str1[16];
  7. char str2[16];
  8. strcpy(str1, "sssss");
  9. strcpy(str2, "kkkk");
  10. strcat(str1, str2);
  11. printf("%s", str1);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 2292KB
stdin
Standard input is empty
stdout
ssssskkkk