Top

Discussion

What does the following function returns void *memmove(void *s1,const void s2, size_t n);?

  • A.returns the value of s1
  • B.returns the value of s2
  • C.doesn’t return any value
  • D.returns the value of s1 and s2

Answer: A

The memmove() function copies n characters from the object pointed to by s2 into the object pointed to by s1.The memmove() function returns the value of s1.

No comment is present. Be the first to comment.
Loading…

Post your comment