I have a program that requires to reverse the name which is a string, here's the code...
it's suppose to work, no errors found.... but "Run time error"
int i = fullName.length();
while (i>=0)
{
cout<<"Your reversed full Name is: ";
cout<<fullName.substr(i-1, 1);
i--;
}
thanks