Multiple Choice
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
Correct Answer:
Verified
Related Questions
Q41: Vector indexing warns about out-of-bounds index values.
Q42: To compare two c-strings you use the
Q43: If you want to read into a
Q44: Vectors and arrays are the same data
Q45: If vector v has fewer than 24
Q47: To declare a c-string and initialize it
Q48: To use the functions for manipulating and
Q49: If we use an out of range
Q50: The base type for a vector can
Q51: When a vector is assigned to another