Exam 10: Characters, C-Strings, and More About the String Class
Exam 1: Introduction to Computers and Programming50 Questions
Exam 2: Introduction to C Plus Plus60 Questions
Exam 3: Expressions and Interactivity44 Questions
Exam 4: Making Decisions53 Questions
Exam 5: Loops and Files63 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays58 Questions
Exam 8: Searching and Sorting Arrays20 Questions
Exam 9: Pointers45 Questions
Exam 10: Characters, C-Strings, and More About the String Class45 Questions
Exam 11: Structured Data53 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes47 Questions
Exam 14: More About Classes40 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions40 Questions
Exam 16: Exceptions, Templates, and the Standard Template Library Stl39 Questions
Exam 17: Linked Lists40 Questions
Exam 18: Stacks and Queues47 Questions
Exam 19: Recursion22 Questions
Exam 20: Binary Trees38 Questions
Select questions type
To change a lower case character to an upper case character, use this function.
(Multiple Choice)
4.9/5
(38)
This function concatenates the contents of one C-string with another C-string.
(Multiple Choice)
4.8/5
(33)
This function accepts a C-string as an argument and converts the string to a long integer.
(Multiple Choice)
4.8/5
(31)
This is the escape sequence representing the null terminator.
(Multiple Choice)
4.9/5
(40)
This function accepts a pointer to a C-string as an argument, and it returns the length of the C-string (not including the null terminator).
(Multiple Choice)
4.9/5
(31)
After the following statement executes, what value is stored in the variable num?
num
(Multiple Choice)
4.8/5
(34)
A practical application of this function is to allow a user to enter a response of 'y' or 'Y' to a prompt.
(Multiple Choice)
4.9/5
(39)
To determine whether a character entered is a letter of the alphabet, use this function.
(Multiple Choice)
4.9/5
(39)
To change a character argument from lower to upper case, use this function.
(Multiple Choice)
4.9/5
(38)
This function accepts a C-string containing a number as its argument and returns the integer equivalent.
(Multiple Choice)
4.8/5
(34)
When using the strcat function, you must be careful not to overwrite the bounds of an array.
(True/False)
4.9/5
(32)
This function converts a C-string to an integer and returns the integer value.
(Multiple Choice)
4.8/5
(41)
By being able to pass arrays as arguments, you can write your own functions for processing C-strings.
(True/False)
4.8/5
(31)
In C++, a C-string is a sequence of characters stored in consecutive memory, terminated by a ________.
(Multiple Choice)
4.9/5
(37)
C++ 11 introduces a function named to_string that converts a numeric value to a string object.
(True/False)
4.7/5
(34)
To test whether a character is a printable character, use this function.
(Multiple Choice)
4.9/5
(42)
Showing 21 - 40 of 45
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)