What is memmove?
Answer / rekha
"memmove" can safely handle the situation where the source
string overlaps the destination string
an example
ptr = memmove( s1, s2, N );
"memmove" copies exactly N characters from the string "s2"
into the area of memory pointed to by "s1". Unlike the
function "strncpy", "memmove" does not check for the
terminating '\0' of string "s2"; it simply copies N
characters. It does not put a terminating '\0' on the end of
string "s1".
| Is This Answer Correct ? | 8 Yes | 0 No |
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Why does everyone say not to use scanf? What should I use instead?
Explain what are multibyte characters?
Explain modulus operator.
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
related to rdbms query .
What are header files? What are their uses?
What is the use of keyword VOLATILE in C?
How does selection sort work in c?
void main() { char c; while(c=getchar()!='\n') printf("%d",c); } o/p=11 why?
Explain what happens if you free a pointer twice?