Exam 10: Characters, C-Strings, and More About the String Class

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

Which of the following lines of code defines an array of C-strings that will hold 49 characters and the null terminator?

(Multiple Choice)
4.9/5
(34)

The string class's front and back member functions were introduced in C++ 11.

(True/False)
4.9/5
(33)

To define a C-string that will store students' last names of up to 25 characters in length, which is an appropriate statement?

(Multiple Choice)
4.8/5
(41)

The C-string company[12] can hold ________.

(Multiple Choice)
4.8/5
(45)

Which statement converts the string "10" to the integer value 10?

(Multiple Choice)
4.9/5
(42)
Showing 41 - 45 of 45
close modal

Filters

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