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...

Explain how to rearrange the order of stacked objects using keyboard shortcuts.

What will be an ideal response?

Computer Science & Information Technology

To insert a function by typing first type an (a) ________ sign

Fill in the blank(s) with correct word

Computer Science & Information Technology

Word displays comments in the Reviewing Pane at the side or top of the document

Indicate whether the statement is true or false

Computer Science & Information Technology

An IP address consists of four octets separated by periods. Which part of this address denotes its class?

A. first octet B. second octet C. third octet D. fourth octet

Computer Science & Information Technology