a) str.length()
b) str.size()
c) str.max_size()
d) both size() and length() function
Which function is used to get the length of a string object?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Which function is used to get the length of a string object?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!