Solved

Suppose Variable Gender Contains MALE and Age Equals 60, How

Question 5

Multiple Choice

Suppose variable gender contains MALE and age equals 60, how is the expression (gender == FEMALE) && (age >= 65)
Evaluated?


A) The condition (gender == FEMALE) is evaluated first and the evaluation stops immediately.
B) The condition (age >= 65) is evaluated first and the evaluation stops immediately.
C) Both conditions are evaluated, from left to right.
D) Both conditions are evaluated, from right to left.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions