Multiple Choice
If string s1 is lexicographically greater than string s2, then the value returned by s2.compare(0, s2.size() , s1) must be?
A) 0
B) -1
C) A negative number.
D) A positive number.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which of the following cannot be used
Q2: Which of the following statements about C++11's
Q4: The arguments passed to replace do not
Q5: The total number of elements that can
Q6: If string s1 has the value "computer"
Q7: String iterators:<br>A) Must be dereferenced in order
Q8: Which of the following provides bounds checking?<br>A)
Q9: Given the strings defined below, which statement
Q10: Which of the following is an invalid
Q11: What type of value is returned by