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 |
Explain a pre-processor and its advantages.
12. Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV
what is stack , heap ,code segment,and data segment
what is pointer ?
10 Answers Kernex Micro Systems,
How does sizeof know array size?
What are the languages are portable and platform independent?Why they are like that?
How will you allocate memory to a double pointer ?
Do string constants represent numerical values?
What is a good way to implement complex numbers in c?
main() { struct test { char c; int i; char m; } t1; printf("%d %d\n", sizeof(t1), sizeof(t1.c)); }
1 Answers Vector, Vector India,
What is the use of a ‘