Chapter 10 Quiz - Characters, C-Strings, & More about the string Class

Ace your homework & exams now with Quizwiz!

After the following statement executes, what value is stored in the variable num? num = atoi("1000");

1000

A test using the isupper function will return false if the argument is an uppercase character.

False

By being able to pass arrays as arguments, you can write your own functions for processing C-strings.

True

This is the escape sequence representing the null terminator.

\0

To determine whether a character entered is a letter of the alphabet, use this function.

isalpha

To test whether a character is a numeric digit character, use this function.

isdigit

This function concatenates the contents of one C-string with another C-string.

strcat

The strcpy function's arguments are:

two addresses

In C++, a C-string is a sequence of characters stored in consecutive memory, terminated by a

null character

To change a character argument from lower to upper case, use this function.

toupper


Related study sets

Chapter 49: Assessment and Management of Patients With Hepatic Disorders

View Set

English Quiz- The Giver- Chapters 1-10

View Set

Chapter 7 Section 3 Napoleon Forges an Empire

View Set

Mid-Term Review Native American Unit

View Set

AP Rhetorical Strategies - Alliteration - Zeugma

View Set