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.insert(4,str2);
b. str2.insert(4,str1);
c. insert(str1,4)=str2;
d. insert(str2,4)=str1;


a. str1.insert(4,str2);

Computer Science & Information Technology

You might also like to view...

As any organization refines the way it does business, it progresses through various levels of increasing ____.

A. cost B. capability C. resources D. skill

Computer Science & Information Technology

____ images are created and sold for a specific use.

a. Editorial-rights b. Royalty-free c. Rights-protected d. Public domain

Computer Science & Information Technology

The Windows ________ displays open and favorite applications for easy access at the bottom of the display by default.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

A good practice is to make backups of your databases on different storage devices.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology