difference between my-strcpy and strcpy ?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
main() { int x=2, y=4 if ((x==2||y==4) x++ y++ if (y==4+1) { x=x+y; } y++; printf("The values of x and y are %d and %d."x,y); } What is the output?
can v write main() { main(); } Is it true?
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
what is computer engg
what is the use of operator ^ in C ? and how it works?
what is the different between data structure and data type?
What is the difference between malloc calloc and realloc in c?
Explain the use of 'auto' keyword in c programming?
What is the difference between fread buffer() and fwrite buffer()?
What are types of preprocessor in c?
What is %s and %d in c?
Is there any demerits of using pointer?