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 |
code for concatination of 2 strings with out using library functions?
What happens if you free a pointer twice?
How to draw the flowchart for structure programs?
a number is perfect if it is equal to the sum of its proper divisor.. 6 is perfect number coz its proper divisors are 1,2 and three.. and 1+2+3=6... a number is deficient if the sum of its proper divisor is less than the number.. sample: 8 is deficient, coz its proper divisors are 1,2 and 4, and 1+2+4=7. abundant number, if the sum of its proper divisor is greater than the number.. sample..12 is abundant coz 1+2+3+4+6=16 which is geater than 12. now write a program that prompts the user for a number, then determines whether the number is perfect,deficient and abundant..
write a program to display reverse of a number using for loop?
how can i get output the following... 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 and 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 plz plz...
What does d mean?
How can I get Single byte from 'int' type variable? Can we alter single bit or multiple bits in int type variable? if so, How?
What do you mean by a sequential access file?
What are the data types present in c?
Explain what?s happening in the first constructor: public class c{ public c(string a) : this() {;}; public c() {;} } How is this construct useful?
what is the use of getch() function in C program.. difference b/w getch() and getche()??
29 Answers HCL, IBM, Infosys, TCS, Wipro,