Computer Science, asked by nandini342, 11 months ago

100110 convert 2's complement

Answers

Answered by megharishi5396
2

First,check whether the given number is positive or negative.

As,first digit is 1,so this indicates that the given number is negative.

So,2's complement of negative number is 1's complement+1.

For,1's complement,make zeroes  as ones and vice versa and then add 1 to it.

Eg-100110=011001+1=011010


Similar questions