100110 convert 2's complement
Answers
Answered by
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