Important MCQ

In a condition, the value -3 is treated as

Q.In a condition, the value -3 is treated as

A) zero
B) error
C) FALSE
D) TRUE
Correct Answer:
Option D
Detailed Explanation:
D) true 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.