Exam 21: Class String and String Stream Processing

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following is not overloaded for strings?

(Multiple Choice)
5.0/5
(40)

Which of the following would not return string::npos when used on the string s which contains "rack":

(Multiple Choice)
4.8/5
(32)

Which of the following does not apply to an istringstream object?

(Multiple Choice)
4.8/5
(31)

Class string has member function __________ to interchange the data stored in two string objects

(Multiple Choice)
4.8/5
(31)

Which function changes the actual string stored in the string object (i.e., is not a const member function)?

(Multiple Choice)
4.9/5
(38)

Which of the following searches through a string object from right-to-left?

(Multiple Choice)
4.8/5
(31)

The function call string1.erase(5) will:

(Multiple Choice)
4.8/5
(34)

All of the following are true of an ostringstream object except that:

(Multiple Choice)
5.0/5
(37)
Showing 21 - 28 of 28
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)