2 In this case, two member functions do the same with respect to the two different design approaches that are
merged here: length() returns the length of the string, just as strlen() does for ordinary C-strings, whereas
size() is the common member function for the number of elements according to the concept of the STL.