Lesson 12 of 24
string Class और String के सवाल
10 min 30 XP
C++ strings के साथ length(), substr(pos, len), find(), replace(), जोड़ने के लिए += और तुलना के लिए == आते हैं। reverse(s.begin(), s.end()) string को उलट देता है।
Example: edit me and press Run
Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.