#include <iostream> #include <string> using namespace std; int main() { string str("abcdefghijk"); int index = str.length(); index = ~index; while(++index) { cout << str.at(~index); } return 0; }
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment