Question: C programming 9. Evaluate (00001000 & 11000101) ^ (11110000) (a) 00111101 (b) 11000000 (c) 10111101 (d) 111100000 10. For any eight-bit x, which of the
C programming
9. Evaluate (00001000 & 11000101) ^ (11110000)
(a) 00111101 (b) 11000000 (c) 10111101
(d) 111100000
10. For any eight-bit x, which of the following does not result in zero?
(a) x &=(~x) (b) x ^= x (c) x <<= 8
(d) x |= x
11. Which statement is true? a) || is the bitwise or operator, b) | is the logical or operator c) Operators || and | are interchangeable.
d) || and | are each binary operators.
12. Enumeration constants within an enumeration (a) must have unique integer values (b) can be assigned other values once they have been defined
(c) must have unique identifiers (d) are defined using the keyword const
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
