0

How to get the reverse of an input in C++ ? [Solved]

For example :- "name" is a string and I want to get the reverse of it as "eman" .

20th Dec 2020, 4:43 AM
Nikunj Vashishtha
Nikunj Vashishtha - avatar
2 Answers
20th Dec 2020, 4:50 AM
ㅀㅀㅀ
+ 1
std::reverse or use a loop to traverse from end to begin
20th Dec 2020, 4:52 AM
Flash