adspace


difference between memcpy and strcpy

Answer Posted / swetcha

A. memcpy can copy null bytes also if the size of memory is
given
strcpy stops after the first null byte.

Is This Answer Correct ?    31 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are compound statements?

1292


swap 2 numbers without using third variable?

1211


How can I implement sets or arrays of bits?

1119


Do you know the difference between malloc() and calloc() function?

1135


what is ur strangth & weekness

2592


What is the difference between union and anonymous union?

1399


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1617


What is variable initialization and why is it important?

1394


Is int a keyword in c?

1059


How do you determine the length of a string value that was stored in a variable?

1205


write a c program to find the sum of five entered numbers using an array named number

2248


will u please send me the placement papers to my mail???????????????????

1930


Sir,please help me out with the code of this question. Write an interactive C program that will encode or decode multiple lines of text. Store the encoded text within a data file, so that it can be retrieved and decoded at any time. The program should include the following features: (a) Enter text from the keyboard, encode the text and store the encoded text in a data file. (b) Retrieve the encoded text and display it in its encoded form. (c) Retrieve the encoded text, decode it and then display the decoded text. (d) End the computation. Test the program using several lines of text of your choice.

2400


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

2516


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

2740