top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What's the difference between memcpy() and memmove() function?

0 votes
282 views
What's the difference between memcpy() and memmove() function?
posted Jul 30, 2015 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Memmove deals with overlapping destinations where as memcpy doesnt.
Memmove uses a temporary buffer , so that no risk of overlapping.

Memcpy just copies the data from the source area mentioned to the destination area mentioned.

answer Jul 31, 2015 by Muthulakshmi K
...