第23368题 单选
执行以下C++代码后,sub的值是?

执行以下C++代码:

string str = "GESP2026";
string sub = str.substr(4, 2);
A

20

B

02

C

2026

D

026

提交0次 正确率0.00%
答案解析