#include<stdio.h>
#include<string.h>
int main() {
char str[1024] = "Hello Worl";
char c[2] = " d";
char d[10] = " x ";
char e[10] = " aaaab ";
strcat(str, c);
strcat(str, d);
strcat(str, e);
printf("%s\n", str); // Hello World
}
댓글 없음:
댓글 쓰기