Name any two string functions in C++.
Answers
Answered by
6
Answer:
Function Description
i) int length() - It is used to find the length of the string.
ii) void swap(string& str) - It is used to swap the values of two string objects.
Similar questions