fork download
  1. /* memmove example */
  2. #include <stdio.h>
  3. #include <string.h>
  4.  
  5. int main ()
  6. {
  7. char str[] = "memmove can be very useful......";
  8. memmove (str+20,str+15,11);
  9. puts (str);
  10. return 0;
  11. }
Success #stdin #stdout 0s 4380KB
stdin
Standard input is empty
stdout
memmove can be very very useful.