Why are all strings constant?

I am very confused as to why all strings are always constant?

Can someone help me out please?
You must be using Java, strings in C++ are mutable.

However, string literals (when you put quotes) are indeed constant, but they are not actual std::string instances.
Last edited on
ok ty
Topic archived. No new replies allowed.