# include <stdio.h>
# include <string.h>
void main() {
char s1[11] = "こんにちは";
char *s2 = "こんばんは";
strcat(s1,s2);
printf("%s\n", s1);
}
こんにちはこんばんは
Go to list of users who liked
More than 5 years have passed since last update.
# include <stdio.h>
# include <string.h>
void main() {
char s1[11] = "こんにちは";
char *s2 = "こんばんは";
strcat(s1,s2);
printf("%s\n", s1);
}
こんにちはこんばんは
Register as a new user and use Qiita more conveniently
Go to list of users who liked