Show, on the graph paper page, the cxact output produced by the following C++ code. string text - \"This is the beginning of a new project.\"; string otherStr; string::size_type pos; cout Solution string text = \"This is beginning of a new project.\"; string otherStr; // pos is used to stroe the place of element found while searching string::size_type pos; // printing the length of text cout << text.length() << endl; // printing the 3 elements after 27th element and 10 elements after 11th element // using function substr which find the substring in a string cout << text.substr(27,3) << \" \" << text.substr(11,10) << endl; // storing the first 21 elements of text in otherStr and lets go otherStr = text.substr(0,21) + \'-\' + \"\ Let\\\'s go!\"; // output the otherStr cout << otherStr << endl; // find function finds the position of character in string pos = text.find(\'t\'); // printing the indx of character in string cout << \"Index of character t is: \" << pos << endl; // finding the index of chacater \'?\' pos = text.find(\'?\'); // if character is not present if (pos > text.length()) { // print oops cout << \"Oops!\" << endl; } // otherwise the character is present else cout << \"Well, Well.\" << endl; // insert function inserts \"very\" string at 12th place nin string text text.insert(12,\"very\"); // printing the text after inserting \"very\" cout << text << endl; // erase function deletes the first 8 elements in string text.erase(0,8); // print the text after deleting the first 8 elements cout << text << endl; output produced: 35 pro inning of This is beginning of - Let\'s go! Index of character t is: 33 Oops! This is begiverynning of a new project. begiverynning of a new project. .