Question: Let the following code be in place: unsigned char i = 137, j = 106; Suppose that an unsigned char variable has a size of
Let the following code be in place: unsigned char i = 137, j = 106;
Suppose that an unsigned char variable has a size of one byte. Compute the values of the following expressions, in binary, hexadecimal and decimal:
a) ~i
b) i&j
c) i^j
d) i|j
e) i << 2
f) j >> 2
g) i << j
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
