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 |
Why preprocessor should come before source code?
I just typed in this program, and it is acting strangely. Can you see anything wrong with it?
proc() { static i=10; printf("%d",i); } If this proc() is called second time, what is the output?
What is a floating point in c?
Explain how can I convert a number to a string?
what is the difference between declaration and definition of a variable or function ?
What is the right type to use for boolean values in c? Is there a standard type? Should I use #defines or enums for the true and false values?
what is the difference between while and do while?
print pattern 1 1 33 33 555 555 77777777 555 555 33 33 1 1
which will be first in c compiling ,linking or compiling ,debugging.
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
what is the diference between pointer to the function and function to the pointer?