#include iostream
#include string
using namespace std;
int main ()
{
string str ("Gmitcampus");
for (size_t i = 0; i str.length();)
{
cout str.at(i-1);
}
return 0;
}
What will be the output of the program?

Posted on by