Which function is used to get the length of a string object?
Posted: Wed Jul 13, 2022 7:52 pm
a) str.length()
b) str.size()
c) str.max_size()
d) both size() and length() function
b) str.size()
c) str.max_size()
d) both size() and length() function