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 the heap in c?
main is a predefined or user define function if user defined why? if predefined whay?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
What is a char c?
If you know then define #pragma?
An interactive c program to read basic salary of 15 persons. each person gets 25% of basic as HRA, 15%of basic as conveyance allowances, 10%of basic as entertainment allowances.The total salary is calculated by adding basic+HRA+CA+EA.Calculate how many out of 15 get salary above 10,000.Rs also print the salary of each employee
What is structure padding ?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
How can I copy just a portion of a string?
Explain which of the following operators is incorrect and why? ( >=, <=, <>, ==)
write a progam to display the factors of a given number and disply how many prime numbers are there?
Explain the difference between call by value and call by reference in c language?