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 double pointer?

554


What oops means?

572


The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.

1624


Explain what is the concatenation operator?

615


write a progrmm in c language take user interface generate table using for loop?

1567






What are loops c?

606


Why does notstrcat(string, "!");Work?

634


When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.

1519


How can I rethow can I return a sequence of random numbers which dont repeat at all?

700


we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

627


What is a void pointer? When is a void pointer used?

614


What is function prototype?

603


What is the use of ?: Operator?

660


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1879


What is #include stdio h and #include conio h?

592