Review B: Bit operators

printable version

B1: [1] [2] [3] [4] [5] [6] [7] // B2: [1] [2] [3] // B3: [1] [2] [3]

Problem B1.1

Assuming that we doing 32-bit integer computations, what is the value of each of the following C expressions?

a.10 & 24
b.10 | 24
c.10 ^ 24