下面 C++ 代码执行后不能输出 "GESP" 的是( )。
- A. ```cpp
string str("GESP"); cout<<str<<endl;
- **B.** ```cpp
string str="GESP"; cout<<str<<endl;
- C. ```cpp
string str("GESP"); cout<<str[1]<<str[2]<<str[3]<<str[4]<<endl;
- **D.** ```cpp
string str{"GESP"}; cout<<str<<endl;