str1의 뒤에 str2를 이어 붙임

char[] str1 = “hello”;

char[] str2 = “world”;

strcat(str1, str2);

str == “helloworld”

즉, 값을 리턴하는 게 아니라 void 함수임

str1에 그냥 저장해버림