Given the following code, what is the correct statement to insert the string str2 into str1, directly after the 'd'?
String str1="abcdefg";
String str2="ABCDE";
A) str1.insert4,str2) ;
B) str2.insert4,str1) ;
C) insertstr1,4) =str2;
D) insertstr2,4) =str1;
Correct Answer:
Verified
Q57: The base type for a vector can
Q58: When the extraction operator is used to
Q59: What is the difference between strcmp and
Q60: Given the following declarations, which of the
Q61: What is the value of numbers.size) after
Q63: What is the value of numbers.size) after
Q64: In a vector, which of the following
Q65: If the capacity of a vector named
Q66: If a vector named numbers has 20
Q67: Which of the following are correct statements
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents