Reverse Function Of String In Cpp