Created
May 2, 2015 06:39
-
-
Save shigemk2/b66cd2a4a7064aff2ce8 to your computer and use it in GitHub Desktop.
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 <string.h> | |
#include <stdio.h> | |
int main() { | |
char a[10] = "some"; | |
char b[10] = "day"; | |
printf("%s\n", a); // some | |
strcat(a, b); | |
printf("%s\n", a); // someday | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment