Mark As Completed Discussion

Try this exercise. Click the correct answer from the options.

Which of the following functions can be used to find the length of a string in the STL library?

Click the option that best answers the question.

  • length()
  • size()
  • count()
  • capacity()