strcat 만들기 썸네일형 리스트형 [DGPD][C언어] 문자열 연결 함수 strcat 만들기. 12345678910111213141516171819202122232425262728293031#include char* myStrcat(char* destination, const char* source){ while (*destination != '\0') { destination++; } while (*source != '\0') { *destination = *source; destination++; source++; } *destination = '\0'; return destination;} int main(){ char str[80] = "these "; myStrcat(str, "strings "); myStrcat(str, "are "); myStrcat(str, "concatenated.. 더보기 이전 1 다음