Multiple Choice
Consider the following statements: After the statement str2 = str1.substr(1,4) ; executes, the value of str2 is "____".
A) ABCD
B) BCDE
C) BCD
D) CDE
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q3: In C++, namespace is a reserved word.
Q5: Which of the following statements creates an
Q8: Consider the declaration: <br>Enum sports {BASKETBALL, FOOTBALL,
Q11: A data type wherein you directly specify
Q12: What is the output of the following
Q13: The values in the domain of an
Q20: The data type string has a named
Q29: In C++, [] is called the array
Q30: An anonymous type can be passed as
Q38: Which of the following is a valid