Computer Science, asked by vaibhav271181, 8 months ago

explain 1's and 2's complement with example​

Answers

Answered by jaiswaranjali14
1

Answer:

Generally, there are two types of complement of Binary number: 1's complement and 2's complement. To get 1's complement of a binary number, simply invert the given number. For example, 1's complement of binary number 110010 is 001101. ... For example 2's complement of binary number 10010 is (01101) + 1 = 01110.

Similar questions