第33681题 单选题
已定义C++字符串`s`,下列哪个选项可以正确获取`s`的长度?
string s = "Let lt Be";
A

s.size()

B

len(s)

C

sizeof(s)

D

strlen(s)

程序运行统计
暂无判题统计