单选题

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

A

length()

B

len()

C

getLength()

D

strlen()

赣ICP备20007335号-2