Boolean Expression Evaluation
Assume that a and b are integers. The boolean expression
((a * b) < 0) || (a > b)
will always evaluate to true under which of the following conditions?
A
a > b
B
a < b
C
b < 0 and a < b
D
a = b
Assume that a and b are integers. The boolean expression
((a * b) < 0) || (a > b)
will always evaluate to true under which of the following conditions?
a > b
a < b
b < 0 and a < b
a = b