Concept

What do character comparison results show in C?

ComputerScienceOne / If, If-Else, If-Else-If Statements

"16. Conditionals Comparison Example Result ('A' < 'a') true ('A' == 'a') false ('A' < 'Z') true ('0' < '9') true ('\n\n' < 'A') true (' ' < '\n\n') false Table 16.4.: Character comparisons in C. Understand that you can write this code, it will compile, and it will even run. However, the results will not be as expected."

Related Ideas

What do character comparison results show in C? | ComputerScienceOne | Bifalgorithm | Bifalgorithm