Question: C++ multiple choice Question 1 1.1 Consider the following statements: string strl = ABCDEFGHIJKLM; string str2; After the statement str2 = strl.substr(1,4); executes, the value

C++ multiple choice
Question 1 1.1 Consider the following statements: string strl = "ABCDEFGHIJKLM"; string str2; After the statement str2 = strl.substr(1,4); executes, the value of str2 is" ". a. "ABCD" b. "BCDE" C. "CDEF" d. "DEFG" e. "GFDC 1.2 Suppose str = "ABCDEFGHI". What is the output of the following statement: cout > currency; C. currency = DOLLAR.currency; d. for (currency = DOLLAR; currency (currency + 1); a. e. 1.5 What would be a valid range for the index of an array of size 99? a. 0 to 98 b. 1 to 98 C. 0 to 99 d. 1 to 99 e. 0 to 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
