Important MCQ

Boolean logic has the values

Q.Boolean logic has the values

A) yes, no and maybe
B) a to z
C) true and false
D) 0 to 9
Correct Answer:
Option C
Detailed Explanation:
C) true and false is correct. Relational operators compare values and return true (1) or false (0). The assignment operator = is different from the equality operator ==; zero is false and non-zero values are true in conditions.