What does it mean when string 1 is “less than” string 2 in C?<>
This question already has an answer here:
- How does strcmp() work? 9 answers
It means that s1 would come before s2 in a dictionary or directory listing sorted lexically, etc. A more clear example might be that "aaa" is less than "bbb", "aab" is less than "abb".