what is the difference between strcpy() and memcpy() function?
Answer Posted / manoj
memcpy can copy null bytes also if the size of memory is
given
strcpy stops after the first null byte.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is the different bitween abap and abap-hr?
What are the 5 types of organizational structures?
Explain how can I pad a string to a known length?
code for quick sort?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Write the control statements in C language
Can we declare a function inside a function in c?
What is the process to generate random numbers in c programming language?
how many errors in c explain deply
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
How can you call a function, given its name as a string?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
What is NULL pointer?
Explain how can you be sure that a program follows the ansi c standard?
What is the purpose of & in scanf?