反轉字串(把"abcde"變成"edcba") void reverse(char *s) { int i, j; char c; // 假設字串長度為n,將0和n-1調換,再換1和n-2,直到字串中間為止for (i = 0, ...
確定! 回上一頁