#include
#include
#include
using namespace std;
int main()
{
string str1("Strings handling is easy in C++");
string::iterator p;
unsigned int i;
// use size()
for(i=0; i cout << str1[i];
cout << endl;
return 0;
}
Strings handling is easy in C++