Multiple Choice
Consider the following statements:string str1 = "Gone with the wind"; string str2;
After the statement str2 = str1.substr(5,4) ; executes, the value of str2 is "____".
A) Gone
B) with
C) the
D) wind
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q29: In C++, [] is called the array
Q30: An anonymous type can be passed as
Q31: Consider the following statements:string str1 = "ABCDEFGHIJKLM";
Q32: In C++, _ is called the
Q33: In C++, _ is a reserved word.<br>A)
Q35: In ANSI/ISO Standard C++, the _ mechanism
Q36: Given the following code namespace globalType<br>{<br>Void printResult();<br>}<br>Which
Q37: A function cannot return the value of
Q38: Which of the following is a valid
Q39: In C++, you can create aliases to