In digital computer, ..............is used to represent negative numbers.
In digital computer, 1's complement and 2's complement is used to represent negative numbers.
1's complement:-
The ones' complement of a binary number is defined as the value obtained by inverting all the bits in the binary representation of the number. The ones' complement of the number then behaves like the negative of the original number in some arithmetic operations.
2's complement:-
2's complementmakes sense because it can be used in natural addition and subtraction arithmetic without any need to change the bits. Two's complement is the way most computers represent positive or negative integers. To get the two's complement negative notation of an integer, you write out the number in binary.