Question: Complete the substr function with values that would display the word 'protest' from the string str 1 below. Please enter one number in each box.

Complete the substr function with values that would display the word 'protest' from the string str1 below. Please enter one number in each box. No spaces or other characters please.
string str1= "Thou doth protest too much";
cout << str1.substr(
,
)<< endl;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!