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