单选题

下列哪个是 C++ 语言中用于获取字符串长度的函数 (  )

A.

length

B.

len

C.

getLength

D.

strlen()

发表评论

登录 后再回复