Multiple Choice
If string s1 has the value "computer" and string s2 has the value "promise", which call to insert will produce the string "compromise"?
A) s1.insert(4, s2, 0, string::npos) ;
B) s1.insert(string::npos, s2, 0, 4) ;
C) s2.insert(0, s1, 0, 3) ;
D) s2.insert(3, s1, 0, 3) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Which of the following cannot be used
Q2: Which of the following statements about C++11's
Q3: If string s1 is lexicographically greater than
Q4: The arguments passed to replace do not
Q5: The total number of elements that can
Q7: String iterators:<br>A) Must be dereferenced in order
Q8: Which of the following provides bounds checking?<br>A)
Q9: Given the strings defined below, which statement
Q10: Which of the following is an invalid
Q11: What type of value is returned by