如下: #include <string>#include <iostream>using namespace std;void main()...{ string s("Hello"); char* p=&s[0]; *p='J'; cout<<s.c_str()<<endl; //可见,这种情况说明了,即使用const也未必能保证对象的不可更改! //这种情况导出所谓的logical constness...}