Copy bytes to buffer from buffer: how to use memmove : Memory Move « Memory « C / ANSI-C






Copy bytes to buffer from buffer: how to use memmove



#include <stdio.h>
#include <string.h>

int main ()
{
  char str[] = "This is a line.....";

  memmove (str + 20, str + 15,11);

  puts (str);

  return 0;
}

           
       








Related examples in the same category

1.Memory move