Home » C++ Programming » Strings » Question
  1. Which constant member functions does not modify the string?
    1. assign
    2. append
    3. bool empty()
    4. All of above
    5. None of these
Correct Option: C

Because bool empty is a constant member function, So it can’t be modified.



Your comments will be displayed only after manual approval.