void * memmove ( void * destination, const void * source, size_t num );
1
2
3
4
5
6
7
8
9
10
11
/* memmove example */
#include <stdio.h>
#include <string.h>
int main ()
{
char str[] = "memmove can be very useful......";
memmove (str+20,str+15,11);
puts (str);
return 0;
}
memmove can be very very useful.