天天看點

c語言strlen函數, 函數原型,函數頭檔案

1、函數原型(利用指針求字元串的長度)

c語言strlen函數, 函數原型,函數頭檔案

2、聲明 <string.h>頭檔案,可以直接調用strlen函數,<string.h>頭檔案中包含strlen函數的函數原型聲明。

c語言strlen函數, 函數原型,函數頭檔案