[Day 9] Operator 2: Logical Operators and Bit operators in C Language
In this class, I learned about the logical operators (e.g. &&, ||, !) and bit operators (&, |, ~, ^). 1. Logical operators - AND (&&): If A and B are true, it is denoted as 'A && B' - OR (||): If A or B are true, it is denoted as 'A || B' - NOT (!): Non-A values output as a result, it is denoted as '!A' #include #include /* run this program using the console pauser or add your own getch, system(..