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 |
how to find sum of digits in C?
how many errors in c explain deply
What is the difference between null pointer and wild pointer?
Write a code to remove duplicates in a string.
write a program to check whether a number is Peterson or not.
What is the use of void pointer and null pointer in c language?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is main () in c language?
Sir i need notes for structure,functions,pointers in c language can you help me please
What are the valid places to have keyword “break”?
#include<stdio.h> main() { int a[3]; int *I; a[0]=100;a[1]=200;a[2]=300; I=a; Printf(“%d\n”, ++*I); Printf(“%d\n”, *++I); Printf(“%d\n”, (*I)--); Printf(“%d\n”, *I); } what is the o/p a. 101,200,200,199 b. 200,201,201,100 c. 101,200,199,199 d. 200,300
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);