Multiple Choice
Consider the following statements:string str1 = "ABCDEFGHIJKLM"; string str2;
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
Q26: The string expression strVar._ inserts all the
Q27: The length of the string "Hello There."
Q28: The identifiers in the system-provided header files
Q29: In C++, [] is called the array
Q30: An anonymous type can be passed as
Q32: In C++, _ is called the
Q33: In C++, _ is a reserved word.<br>A)
Q34: Consider the following statements:string str1 = "Gone
Q35: In ANSI/ISO Standard C++, the _ mechanism
Q36: Given the following code namespace globalType<br>{<br>Void printResult();<br>}<br>Which