Important MCQ

The value of (5 != 3) is

Q.The value of (5 != 3) is

A) 0
B) 5
C) 1
D) 3
Correct Answer:
Option C
Detailed Explanation:
C) 1 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.