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 |
write a program to display & create a rational number
What is 'bus error'?
How do I read the arrow keys? What about function keys?
What is the purpose of #pragma directives in C?
Why isnt any of this standardized in c?
What is array within structure?
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
What is a constant?
When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?
What is the difference between big endian form and little endian form? write a code to convert big endian form to little endian and vice versa..
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }
Write a program to accept a character & display its corrosponding ASCII value & vice versa?