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.
You might also like to view...
A hyperlinked custom slide show allows the presenter to quickly navigate to another presentation from within the current presentation
Indicate whether the statement is true or false
What will be matched by the following ed regular expressions? (Tip: If you're using them in other contexts, you should omit the backslashes)
x* [0-9]\{3\} xx* [0-9]\{3,5\} x\{5,\} ^\... x\{10\} [A-Za-z_][A-Za-z_0-9]* [0-9]* ^Begin$ [0-9][0-9][0-9] ^\(.\).*\1$