Filters
Question type

The following code declares a vector of characters. vector characters<char>

A) True
B) False

Correct Answer

verifed

verified

To use the string class, you must include which library?

Correct Answer

verifed

verified

Using the == operator on a string variable results in the same value as using strcmp on two c-strings.

A) True
B) False

Correct Answer

verifed

verified

To change the size of a vector, one uses the ______________ member function.

Correct Answer

verifed

verified

The following declares a c-string and initializes it to "speaker" char str[]="speaker";

A) True
B) False

Correct Answer

verifed

verified

The following declares a c-string variable that will hold 10 letters. char str[10];

A) True
B) False

Correct Answer

verifed

verified

____________ can be thought of as an array that can grow and shrink as needed.

Correct Answer

verifed

verified

The c-string to number conversion functions are in the _________ library.

Correct Answer

verifed

verified

The ________ class lets you treat string values and variables like other pre-defined data types such as int).

Correct Answer

verifed

verified

Showing 61 - 69 of 69

Related Exams

Show Answer