Which of the following statements about string compares is false?
A. If the two strings are equal, the result is true.
B. The first string is less than the second string if, starting from the beginning of the string, we find a character in the first string less than a character in the second string.
C. The first string is less than the second string if the end of the first string is detected before the end of the second string.
D. The first string is greater than the second string if, starting from the beginning of the string, we find a character in the first string greater than a character in the second string.
E. The first string is greater than the second string if the end of the second string is detected before the end of the first string.
Answer: A
You might also like to view...
Inserting a new set of values into a table array requires that the table array be redefined manually
Indicate whether the statement is true or false
The _____ lock lets only those whose fingers are supposed to be on the key unlock the screen
Fill in the blank(s) with correct word