Home » Technical Questions » Programming

How would you use the function memmove()?

Correct Answer: #include "memh" #include "alloch" main() { int area; char *dest; char src[] = "Life is the camera and you are the target" "so keep smiling always"; area = sizeof (src); dest = malloc (area); memmove (dest, src, area); printf("\n%s", dest); printf("\n%s",src); }

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion