When x=15 and y=12, what is the outcome of the expression:
A. b1101 is an abbreviated version of b11
B. 0b1101 is a number that can be used to identify a specific person.
C. 12th
D. 1100
Answer:C
When x=15 and y=12, what is the outcome of the expression:
A. b1101 is an abbreviated version of b11 B. 0b1101 is a number that can be used to identify a specific person. C. 12th D. 1100
Explanation: Bitwise AND is denoted by the symbol '&.' If both bits are 1, this returns 1; otherwise, it returns 0. 15 has the binary value 1111, while 12 has the value 1100. As a result, when we conduct a bitwise AND operation, we receive 1100, which equals 12.