top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

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

0 votes
37 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 Google+ Share Button LinkedIn Share Button Multiple Social 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
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...