void Concat( char S1[l, char S2[l, char T[]) ∥以T返回由S1和S2联接而成的新串 0:k=0 ∥Whe(S1!=0)Tk+=S1++; 复制串S1 j=0 while(S2[]!=v0)Tk++]=S2[++]; ∥紧接着复制串S2 TkK=10 ∥置结果申T的结束标志• void Concat( char S1[ ], char S2[ ], char T[ ]) { // 以T返回由S1和S2联接而成的新串 j=0; k=0; while ( S1[j] != '\0') T[k++] = S1[j++]; // 复制串 S1 j = 0; while ( S2[j] != '\0') T[k++] = S2[j++]; // 紧接着复制串 S2 T[k] = '\0'; // 置结果串T的结束标志 }