#2764. [GESP202403 三级 C++] 第 21 题
[GESP202403 三级 C++] 第 21 题
执行下面C++代码后将输出2。
int main()
{
string str="gEsP is Interesting";
int x = str.find("s");
cout << x << endl;
cout << endl;
return 0;
}
{{ select(1) }}
- 正确
- 错误
执行下面C++代码后将输出2。
int main()
{
string str="gEsP is Interesting";
int x = str.find("s");
cout << x << endl;
cout << endl;
return 0;
}
{{ select(1) }}