1
How a negative integer is stored in C-Programming?

Open 1 Answers 21 Views Technology
How a negative integer is stored in C-Programming?

1 Answer

0
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
by (304k points)
...