difference between my-strcpy and strcpy ?

Answers were Sorted based on User's Feedback



difference between my-strcpy and strcpy ?..

Answer / vinod

There is nothing as my-strcpy,ur-strcpy etc...
u need to look at man page before doing anything silly..

As a programmer u need to understand naming conventions
better...

Is This Answer Correct ?    8 Yes 3 No

difference between my-strcpy and strcpy ?..

Answer / ningappa

strcpy is a library function and my-strcpy is a user
defined function......The function definition of strcpy
will be called when string.h library is added,whereas the
definition of my-strcpy has to be included by the user....

Is This Answer Correct ?    7 Yes 3 No

difference between my-strcpy and strcpy ?..

Answer / shruti

yes there is nothing like my-strcpy..

i think u must have come accross some prog. in which a user
must have written a func. for string copy and named it as
my-strcpy...

strcppy is an in-built function for string copy.
the function body is present in string.h.

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More C Interview Questions

What are the properties of union in c?

0 Answers  


who invented c

13 Answers   IBM,


Is null equal to 0 in sql?

0 Answers  


value = 0xabcd; for (loop = 1; (value >> 1) & 1 | loop & 1; loop++) { foo(); if (loop & 1) value >>= 1; } how many times is foo() executed?

6 Answers   Google,


Why does everyone say not to use gets?

0 Answers  


struct ptr { int a; char b; int *p; }abc; what is d sizeof structure without using "sizeof" operator??

9 Answers   Verifone,


What are the types of bitwise operator?

0 Answers  


the constant value in the case label is followed by a a) semicolon b) colon c) braces d) none of the above

0 Answers  


What is an object?

5 Answers  


What is the difference between pure virtual function and virtual function?

0 Answers  


write a c program to remove all the duplicate characters in a string and replace with single character? ex:-input- AAABBBCCC output- ABC

2 Answers   HCL,


what is link list?

3 Answers  


Categories