C Functions Question:

Download Job Interview Questions and Answers PDF

What is memcpy() function?

C Functions Interview Question
C Functions Interview Question

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?