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 |
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
increment operateor (++)and decrament(--) #include<stdio.h> #inclide<conio.h> main() { int x=15; while(x!=0) scanf("%d",&x); {
What is scanf_s in c?
what is the output of the program?? #include<stdio.h> main ( ) { int a=010,sum=0,tracker: for(tracker=0;tracker<=a;tracker++) sum+=tracker; printf(ā %d\nā,sum); } what is the difference between a=10 and a=010??
Explain how do you convert strings to numbers in c?
In C program, at end of the program we will give as "return 0" and "return 1", what they indicate? Is it mandatory to specify them?
char p="data"; printf(p);
What is memcpy() function?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
Heyyy All, Just a challenge . A C program with if Else if(){ /// insert sumthing print ("in if") // insert sumting } else { ///// insert sumthing print ("in else"); //// insert sumthing } can anyone modify it so that program prints. if and else both
What is the purpose of sprintf?