What is the output of this code snippet 
    #include <iostream>
    int main ()
    {
        string str ("Test string");
        for ( string :: iterator it = str.begin(); it != 8; ++it)
            cout << *it;
        return 0;
    }

Posted on by