[ad_1]
You have a dangling pointer. s is destroyed when it goes out of scope, meaning the pointer to its internal data is no longer valid.
[ad_2]
solved find bugs in the c++ code below [closed]
[ad_1]
You have a dangling pointer. s is destroyed when it goes out of scope, meaning the pointer to its internal data is no longer valid.
[ad_2]
solved find bugs in the c++ code below [closed]