ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
What is memmove?
 Question Submitted By :: Deepaksr13
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is memmove?
Answer
# 1
"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 ?    3 Yes 0 No
Rekha
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
write a c program to print the values in words eg:- 143 written it has (one hundred and forty three)& 104, 114 are also written words  1
int main() { int *p=new int; *p=10; del p; cout<<*p; *p= 60; cout<<*p; } what will be the output & why? TCS4
Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?  1
HOW TO SWAP TWO NOS IN ONE STEP? Satyam12
why r u join this company? give solid resons. Infosys7
In the following control structure which is faster? 1.Switch 2.If-else and which consumes more memory?  4
Is it possible to create recycle bin in mobiles?  2
dynamically allocate memory for linear array of n integers,store some elements in it and find some of them  1
const char * char * const What is the differnce between the above tow?. TCS5
Reverse the part of the number which is present from position i to j. Print the new number.[without using the array] eg: num=789876 i=2 j=5 778986  2
pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words ) Persistent1
Design a program using an array that lists even numbers and odd numbers separately from the 12 numbers supplied by a user.  7
program to find middle element of linklist? Huawei1
what is difference between array of characters and string Accenture10
study the code: #include<stdio.h> void main() { const int a=100; int *p; p=&a; (*p)++; printf("a=%dn(*p)=%dn",a,*p); } What is printed? A)100,101 B)100,100 C)101,101 D)None of the above Accenture13
in C-programming language without using printf statement can we get output r not ? if yes how and if no also how ?  6
How do you write a program which produces its own source code as its output?  2
what information does the header files contain? BSNL5
int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15 Wipro8
Write a program to generate prime factors of a given integer?  3
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com