what is the difference between strcpy() and memcpy() function?
Answers were Sorted based on User's Feedback
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 |
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 |
What is #include cctype?
What is a #include preprocessor?
Do pointers store the address of value or the actual value of a variable?
What should malloc() do?
explain how do you use macro?
#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
What is the difference b/w Structure & Array?
How do I swap bytes?
Explain how can you restore a redirected standard stream?
What is linear search?
Difference between for loop and while loop?