+1 vote
in Technology by (1.7m points)
How a negative integer is stored in C-Programming?

1 Answer

0 votes
by (1.7m points)
Get the two’s compliment of the same positive integer. Eg: 1011 (-5)

Step-1 − One’s compliment of 5 : 1010

Step-2 − Add 1 to above, giving 1011, which is -5
...