单选题

下列程序输出的是()

 string str = "Hello,CHAD"; 

 cout << str.find("A") << '\n';

A.

9

B.

8

C.

7

D.

6

发表评论

登录 后再回复