difference between memcpy and strcpy



difference between memcpy and strcpy..

Answer / swetcha

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 ?    31 Yes 1 No

Post New Answer

More C Interview Questions

WHAT IS RTGS N MINIMUM AMT TO B TRANSFERD N WHAT R THE CHARGES ON MINIMUM AMT N IN WHICH BANK WE CAN DO IT?

1 Answers  


What is the difference between null pointer and the void pointer?

3 Answers  


What is the explanation for modular programming?

1 Answers  


Write a program that takes a 5 digit number and calculates 2 power that number and prints it.

5 Answers   TCS, Vimukti Technologies,


write an interactive program to generate the divisors of a given integer.

7 Answers   TCS,


for(;;) printf("C language") What is out put of above??

2 Answers   Practical Viva Questions,


WAP to convert text into its ASCII Code and also write a function to decode the text given?

2 Answers  


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

1 Answers   Subex,


What is the use of volatile?

1 Answers  


a C prog to swap 2 no.s without using variables just an array?

5 Answers   TCS,


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

1 Answers  


Is c is a low level language?

1 Answers  


Categories