下列程序输出的是( )
string ch="hello";if(ch[5]==NULL){ cout<<"right"<<endl;}else if (ch[5]=='\0'){ cout<<"wrong"<<endl;}else{ cout<<"hello"<<endl;}下列程序输出的是( )
string ch="hello";if(ch[5]==NULL){ cout<<"right"<<endl;}else if (ch[5]=='\0'){ cout<<"wrong"<<endl;}else{ cout<<"hello"<<endl;}