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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is quick sort in c?

828


Which are low level languages?

849


Explain void pointer?

807


What is the purpose of ftell?

834


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

863


How to get string length of given string in c?

815


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1066


Difference between constant pointer and pointer to a constant.

834


what is the different bitween abap and abap-hr?

1947


What are directives in c?

747


What is a program flowchart and how does it help in writing a program?

912


How can I trap or ignore keyboard interrupts like control-c?

826


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

1203


What are the benefits of organizational structure?

793


Explain what is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

873