Write the binary representation of the C99 variables given below. Example: for uint8_t x = 13, the answer would be answer is: 0000 1101 (base-2)
a. uint8_t x = 31;
b. uint8_t x = 123;
c. uint8_t x = 214;
d. uint8_t x = 233;
e. int8_t x = -22;
f. int8_t x = -97;
g. int8_t x = 123;
h. uint16_t x = 13000;
i. int16_t x = 13000;
j. int16_t x = -13000;
k. uint32_t x = 524288;
l. int32_t x = -40;
m. int32_t x = 40
a. uint8_t x = 31 => 0001 1111
b. uint8_t x = 123 => 0111 1011
c. uint8_t x = 214 => 1101 0110
d. uint8_t x = 233 => 1110 1001
e. int8_t x = -22; => 1110 1010
f. int8_t x = -97; => 1001 1111
g. int8_t x = 123; => 0111 1011
h. uint16_t x = 13000; => 00011 0010 1100 1000
i. int16_t x = 13000; => 00011 0010 1100 1000
j. int16_t x = -13000; => 1100 1101 0011 1000
k. uint32_t x = 524288; => 0000 0000 0000 1000 0000 0000 0000 0000
l. int32_t x = -40; =>1111 1111 1111 1111 1111 1111 1110 11000
m. int32_t x = 40 0000 0000 0000 0000 0000 0000 0010 1000
Get Answers For Free
Most questions answered within 1 hours.