單項選擇題

已經(jīng)字符數(shù)組chars[]="Please";下列選項中能計算字符串s的長度的是()。

A.strcpy
B.strcat
C.strcmp
D.strlen

微信掃碼免費搜題