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                      
tip   To Refer this Site to Your Friends   Click 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
difference between memcpy and strcpy
 Question Submitted By :: Sreedhar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: difference between memcpy and strcpy
Answer
# 1
A. memcpy can copy null bytes also if the size of memory is 
given
strcpy stops after the first null byte. 

 
Is This Answer Correct ?    11 Yes 0 No
Swetcha
[Semanticspace]
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
define function Assurgent4
How do you write a program which produces its own source code as its output?  2
What compilation do? Geometric-Software7
prototype of sine function. Cadence2
What ios diff. Between %e & %f? Honeywell1
What are .h files and what should I put in them?  3
void main() { int i=5; printf("%d",i++ + ++i); } ME11
HOW TO HANDLE EXCEPTIONS IN C  5
Why doesn't the code "int a = 1000, b = 1000; long int c = a * b;" work?  6
which of the function operator cannot be over loaded a) <= b)?: c)== d)* HCL7
Give the output for the following program. #define STYLE1 char main() { typedef char STYLE2; STYLE1 x; STYLE2 y; clrscr(); x=255; y=255; printf("%d %d\n",x,y); } ADITI1
what is the difference between normal variables and pointer variables.............. Satyam7
difference between semaphores and mutex?  1
What is alloca() and why is its use discouraged?  1
YBJBU6  1
what are the general concepts of c and c++  1
i want to have a program to read a string and print the frequency of each character and it should work in turbo c  2
O,T,T,F,F,S,S,E,N,?,?,?,T,F,F,S,S,E,N ADP9
HOW DO YOU HANDLE EXCEPTIONS IN C? AppLabs2
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?  1
 
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