What is the function present to sort a string in C++?
sort();
sort(str.begin(), str.end());
Sort_asec();
None
This question is part of this quiz :