fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4.  
  5. int main(int argc, char const *argv[])
  6. {
  7. /* code */
  8. char s1[4],s2[36];
  9. s1[0]=s2[0]='\0';
  10. strncat(s1,"mv ",3);
  11. strncat(s2," /home/xxxxxxx/.local/share/Trash/",34);
  12.  
  13. printf("%s \n",s1);
  14. printf("%s \n",s2);
  15.  
  16. return 0;
  17.  
  18. }
Success #stdin #stdout 0s 2248KB
stdin
Standard input is empty
stdout
mv  
  /home/xxxxxxx/.local/share/Trash