Question: c++ program Question 1 1.1 Consider the following statements: string strl = ABCDEFGHIJKLM; string str2; After the statement str2 = stri.substr(1,4); executes, the value of

 c++ program Question 1 1.1 Consider the following statements: string strl

c++ program

Question 1 1.1 Consider the following statements: string strl = "ABCDEFGHIJKLM"; string str2; After the statement str2 = stri.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); 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!