limit of string in c++ code example Example: how long can a c++ string be // A C++ string can have up to 4294967295 characters