Skip to content

Instantly share code, notes, and snippets.

@kylelk
Created August 20, 2013 07:59
Show Gist options
  • Save kylelk/6278416 to your computer and use it in GitHub Desktop.
Save kylelk/6278416 to your computer and use it in GitHub Desktop.
Join
#include <stdio.h>
#include <string.h>
int main()
{
char src[50], dest[50];
strcpy(src, "This is source");
strcpy(dest, "This is destination");
strcat(dest, src);
printf("|%s|", dest);
return (0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment