How a negative integer is stored.

Short Answer
Views 1057

Answer:

Get the two-S compliment of the same positive integer. Eg: 1011 (-5)

Step-A − One-S compliment of 5 : 1010

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

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of C Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.