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
- How do if, else, and else if statements work in Java?ComputerScienceOne · If, If-Else, If-Else-If Statements
- How do if, if-else, and if-else-if statements work in PHP?ComputerScienceOne · If, If-Else, If-Else-If Statements
- What are examples of if, if-else, and if-else-if statements in Java?ComputerScienceOne · If, If-Else, If-Else-If Statements
- What is the order of precedence for PHP operators?ComputerScienceOne · If, If-Else, If-Else-If Statements
- What is a logical statement?ComputerScienceOne · Logical Operators