Created
August 20, 2013 07:59
-
-
Save kylelk/6278416 to your computer and use it in GitHub Desktop.
Join
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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