#GESP1981. [GESP]L3-202312-Q1981-S

[GESP]L3-202312-Q1981-S

执行下面 C++ 代码后,输出是()。

string str=("chen");
int x=str.length();
int temp=0;
for(int i=0;i<=x;i++)
{
    temp++;
}
cout<<temp<<endl;

{{ select(1) }}

  • 44
  • 22
  • 55
  • 33