fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5. int main(void) {
  6. char buf[1024] = {0};
  7.  
  8. strcat(buf, "qwe");
  9.  
  10. // strcat(buf, NULL); // Ошибка выполнения time: 0 memory: 2108 signal:11
  11.  
  12. strcat(buf, "123");
  13.  
  14. printf("%s", buf);
  15.  
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
qwe123