Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which among the following is Copying function?

  • A.memcpy()
  • B.strcopy()
  • C.memcopy()
  • D.strxcpy()

Answer: A

Correct answer: memcpy()

memcpy() copies a given number of bytes from one object to another. The others do not exist: the string copy is strcpy(), not strcopy(), and there is no memcopy() or strxcpy().

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

Post your comment

Please log in or register to post a comment.