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 are the parts of c program?
what value is returned to operating system after program execution?
What is null character in c?
What is pre-emptive data structure and explain it with example?
Give a one-line C expression to test whether a number is a power of 2. [No loops allowed - it's a simple test.]
Write a C program to count the number of email on text
What is the main difference between calloc () and malloc ()?
What is const and volatile in c?
What is chain pointer in c?
Explain the use of #pragma exit?
Write a c program to demonstrate character and string constants?
What are multibyte characters?
How are variables declared in c?
What 'lex' does?
#include