What is the output of the following code?


#include iostream.h
#include string.h
int main ()
{
string str ("India");
for (size i = 0; i str.length();)
{
coutstr.at(i-1);
}
return 0;
}

Posted on by