string 是一个类, string a, b; 是声明了string类的两个对象, string类重载了"="赋值 运算符, 看起来更像普通的变量, sizeof()得到的是该对象所占用的空间, 是它 ...
zhidao.baidu.com