Important MCQ

In (false && x) the second operand x is

Q.In (false && x) the second operand x is

A) added to false
B) not evaluated (short- circuit)
C) always evaluated
D) printed
Correct Answer:
Option B
Detailed Explanation:
B) not evaluated (short- circuit) is correct. && means AND, || means OR, and ! means NOT. AND is true only if both conditions are true; OR is false only if both are false; short-circuiting may skip evaluation.