The function call string1.erase(5) will:

a. Return a copy of string1 minus the character that occupied position 5.
b. Erase all characters up to and including the character in position 5 from string1.
c. Erase all characters starting from and including the character in position 5 to the end of string1.
d. Return a copy of string1 minus every fifth character.

c. Erase all characters starting from and including the character in position 5 to the end of string1.

Computer Science & Information Technology

You might also like to view...

The relationship between bank customers and their accounts would be ________

A) one-to-one B) many-to-many C) one-to-many D) many-to-one

Computer Science & Information Technology

Which button is used to merge cells so that you can position the table title across the columns?

A) Merge Text B) Remove Borders C) Merge Cells D) Merge and Borders

Computer Science & Information Technology