The number 43 in 2’s complement representation is
(A) 01010101
(B) 11010101
(C) 00101011
(D) 10101011
Answer: (C)
Explanation: In2’s complement representation, positive numbers are represented as their representation and negative numbers are represented by first doing 1’s complement, then adding 1 to the result.
So 43 is represented as 00101011.
Note that option represents -43.
Quiz of this Question