1.

What is 1’s complement? Give an example.

Answer»

Representing a signed number with 1’s complement is done by changing all the bits that are 1 to 0 and all the bits that are 0 to 1.

For example, 1’s complement of 1010100 is 0101011.



Discussion

No Comment Found