C Functions Question:
Download Questions PDF

What is memcpy() function?

Answer:

With memcopy(), the programmer needs to specify the size of data to be copied. strncpy() is similar to memcopy() in which the programmer specifies n bytes that need to be copied.

Download C Functions Interview Questions And Answers PDF

Previous QuestionNext Question
What is strcpy() function?Can you please explain the difference between strcpy() and memcpy() function?