Programming/Function [Function] strcat(char s[], char t[]): concatenate t to end of s; s must be big enough 숫눈길 2017. 8. 6. 21:57 /* strcat: concatenate t to end of s; s must be big enough */ void strcat(char s[], char t[]) { int i, j; i = j = 0; while (s[i++] != '\0') { /* find end of s */ ; } while ((s[i++] = t[j++]) != '\0') { /* copy t */ ; } return; } 저작자표시 (새창열림)