strcat

28/07/2009 ·


//strcat - concatenating of two strings
char * strcat ( char * destination, const char * source )
{
char *d = destination;
while (*d) ++d;
while ((*d++ = *source++) != '\0') ;
return (destination);
}

0 comments:

Post a Comment

Submit Request

If you need some code or programs just post a comment on this post. I will try to provide you the same at the earliest.

About this blog

Free sample code, example code , code snippet , tutorials in C C++. Find, download and reuse the code database available which vary from small programs to large ones as well. Feel free to request for code that is not in the list.

Followers