5 In this case, two member functions do the same thing because length() returns the length of the string, 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.