Q:

WHAT IS THE DIFFERENCE BETWEEN MEMCPY() & STRCPY() FUNCTIONS IN C?

belongs to collection: C INTERVIEW QUESTIONS AND ANSWERS

0

WHAT IS THE DIFFERENCE BETWEEN MEMCPY() & STRCPY() FUNCTIONS IN C?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

memcpy() function is used to copy a specified number of bytes from one memory to another. Whereas, strcpy() function is used to copy the contents of one string into another string.

memcpy() function acts on memory rather than value. Whereas, strcpy() function acts on value rather than memory.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C INTERVIEW QUESTIONS AND ANSWERS

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
WHAT IS THE DIFFERENCE BETWEEN MEMCPY() & MEMMOVE(... >>
<< HOW TO CHECK WHETHER MACRO IS DEFINED OR NOT IN A ...