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 |
What is the difference between new and malloc functions?
What does. int *x[](); means ?
hOW Can I add character in to pointer array of characters char *a="indian"; ie I want to add google after indian in the char *a
What are the types of data types and explain?
Explain what does it mean when a pointer is used in an if statement?
How do you define a string?
Why doesn't C have nested functions?
Discuss the function of conditional operator, size of operator and comma operator with examples.
What are data breakpoints?
What are the benefits of organizational structure?
Is this program statement valid? INT = 10.50;
we need to calculating INCOME TAX for the person. The INCOME TAX is as follows:- First $10000/- of income : 4% tax Next $10000/- of income : 8% tax Next $10000/- of income : 11.5% tax above $10, 00,00/- : 15% tax What is the Solution of this Question ?