Discussion in 'C' started by cindrilla, Dec 19, 2010.
hi frinds i want to know how this one's complement & two's complement is done in 16bit system
Same way it's done in any size system. One's complement just flips the bits, two's complement flips the bits then adds one. 1's comp of 0001 is 1110; 2's comp is 1111.
Separate names with a comma.