#GESP2790. [GESP]L3-202412-Q2790-S
[GESP]L3-202412-Q2790-S
下列程序输出的是( )。
string ch = "hello";
if (ch[5] == NULL)
{
cout << "right" << endl;
}
else if (ch[5] == '\0')
{
cout << "wrong" << endl;
}
else
{
cout << "hello" << endl;
}
{{ select(1) }}
rightwronghello- 不能正确执行
相关
在下列比赛中: