Q123
Which function is used to get the length of a string object?
A.
str.length()
B.
str.size()
C.
str.max_size()
D.
both size() and length() function
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board