--- praveen kumar <[EMAIL PROTECTED]> wrote:
> please let me know what is the difference between strcpy() and strdup()?
As far as their are implemented the main diff is
strcpy : you need to allocate a memory for destination string and then copy
to it
the source string.
strdup : strdup will take care of allocating memory for the destination
string and
copies the source string to it.
-
Ramprasad B
____________________________________________________________________________________
Want to start your own business?
Learn how on Yahoo! Small Business.
http://smallbusiness.yahoo.com/r-index