Quiz on C++ Lexicographical Compare



1. What does the lexicographical_compare function do?
2. What are the parameters required by the lexicographical_compare function?
3. Which header file is necessary to use lexicographical_compare?
4. What is the return type of the lexicographical_compare function?
5. In which scenario would lexicographical_compare return true?

Advertisements