CBSE BOARD X, asked by hemadri1664, 1 month ago

Name any two string functions in C++.

Answers

Answered by logavignesh18
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