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

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

The function that accepts a pointer to a C-string as an argument and returns the length of the C-string, not including the null terminator is

(Multiple Choice)
4.8/5
(89)

The arguments of the strcpy function are

(Multiple Choice)
4.9/5
(84)

Select all that apply. Whitespace encompasses which of the following?

(Multiple Choice)
4.9/5
(75)

The C++ compiler performs strict array bounds checking when it encounters an array of characters.

(True/False)
4.9/5
(68)

What is the output of the following statement? Cout << tolower(toupper('Z')) << endl;

(Multiple Choice)
4.7/5
(83)

The C-string company[12] can hold

(Multiple Choice)
4.8/5
(76)

What is the value stored in num after the following statement executes? Num = atoi("1000");

(Multiple Choice)
4.9/5
(76)
Showing 41 - 47 of 47
close modal

Filters

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