61.
What will be the output of the following C++ code?
#include <iostream>
#include <string>
using namespace std;
int main ()
{
    string str ("I like to code in C");
    unsigned sz = str.size();
    str.resize (sz + 2, '+');
    str.resize (14);
    cout << str << '\n';
    return 0;
}

62.
What will be the output of the following C++ code?
#include <iostream>  
#include <cstring>
#include <string>
using namespace std;
int main () 
{
    string str ("Steve jobs");
    char * cstr = new char [str.length() + 1];
    strcpy (cstr, str.c_str());
    char * p = strtok (cstr," ");
    while (p != 0)
    {
        cout << p << '\n';
        p = strtok(NULL," ");
    }
    delete[] cstr;
    return 0;
}

64.
What will be the output of the following C++ code?
#include <stdio.h>
#include <iostream>
using namespace std;
int main()
{
    char str[5] = "ABC";
    cout << str[3];
    cout << str;
    return 0;
}

67.
What will be the output of the following C++ code?
#include <iostream>
#include <string>
using namespace std;
int main ()
{
    string str ("Test string");
    for ( string :: iterator it = str.begin(); it != 5; ++it)
        cout << *it;
    return 0;
}

68.
What will be the output of the following C++ code?
#include <iostream>
#include <string>
using namespace std;
int main ()
{
    string str ("Steve jobs founded the apple");
    string str2 ("apple");
    unsigned found = str.find(str2);
    if (found != string :: npos)
        cout << found << '\n';
    return 0;
}

69.
What will be the output of the following C++ code?
#include <iostream>
#include <string>
using namespace std;
int main ()
{
    string name ("Jobs");
    string family ("Steve");
    name += " Apple ";
    name += family;
    name += '\n';
    cout << name;
    return 0;
 }