what is the difference between strcpy() and memcpy() function?

Answers were Sorted based on User's Feedback



what is the difference between strcpy() and memcpy() function?..

Answer / 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

what is the difference between strcpy() and memcpy() function?..

Answer / vinoth kumar

strcpy copies the data from one string to another...

memcpy copies the data's memory...

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More C Interview Questions

Why can arithmetic operations not be performed on void pointers?

0 Answers  


WAP to find that given no is small or capital

3 Answers  


Is a house a mass structure?

0 Answers  


what is the difference between structure and union?

3 Answers  


What will be your course of action for a push operation?

0 Answers  






Is it fine to write void main () or main () in c?

0 Answers  


Write a C function to search a number in the given list of numbers. donot use printf and scanf

6 Answers   Honeywell, TCS,


Write a program using bitwise operators to invert even bits of a given number.

2 Answers  


write a c program for greatest of three numbers without using if statment

4 Answers   IBM,


What is the function of volatile in c language?

0 Answers  


what is the use of keyword volatile??

4 Answers   LG Soft,


What is the equivalent code of the following statement in WHILE LOOP format?

0 Answers  


Categories