Question: 1 2 . Assume that x and y are boolean variables and have been properly initialized. ( x && y ) && ! ( x
Assume that x and y are boolean variables and have been properly initialized. x && y && x y
Which of the following best describes the result of evaluating the expression above?
A true always
B false always
C true only when x is true and y is true
D true only when x and y have the same value
E true only when x and y have different values
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
