Home » C++ Programming » Strings » Question
  1. What is the difference between unsigned int length() and unsigned int size()?
    1. They are same
    2. Returns a different value but they are same
    3. Returns a different value
    4. All of above
    5. None of these
Correct Option: A

Both of them will return the length of strings in same notations.



Your comments will be displayed only after manual approval.