Chapter 10 Quiz - Characters, C-Strings, & More about the string Class
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