在〈字元陣列與字串〉談過,在C 語言中,字串是一個字元陣列,最後一個字元以空字 ... scanf("%s", buf); size_t length = strlen(buf); printf("字串長度:%lu\n", ...
確定! 回上一頁