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
Q6: Which of the following statements declares the
Q17: The following is a legal C++ enumeration
Q21: No arithmetic operations are allowed on the
Q22: The string expression strVar._ starts at index
Q26: The string expression strVar._ inserts all the
Q30: Consider the following statements: After the statement
Q33: In C++, _ is a reserved word.<br>A)
Q36: Suppose that you have the following declaration.
Q39: In C++, you can create aliases to
Q39: Suppose that str1, str2, and str3 are