字串長度可以使用於string.h 標頭檔內的strlen 函式求得. char a[20] = ”startrek” ; ... C語言提供很多字串庫存函數,這些都存在string.h標頭檔裡.
確定! 回上一頁