65,186
社区成员




//str1,str2,str3,str4是数组名,也是地址,当然不等了,
cout << boolalpha <<":" << ( str1==str2 ) << endl;
cout << boolalpha <<":" << ( str3==str4 ) << endl;
//str5,str6指向了相同的常量存储区域,地址一样,
cout << boolalpha <<":" << ( str5==str6 ) << endl; //