+1 vote
11 views
How a negative integer is stored in C-Programming?
in Technology by (190k points)

1 Answer

0 votes
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 (190k points)

Related questions

0 votes
1 answer 21 views
+1 vote
1 answer 25 views
+1 vote
1 answer 15 views
+1 vote
1 answer 11 views
11 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 11 views
+1 vote
1 answer 13 views
+1 vote
1 answer 14 views
+1 vote
1 answer 10 views
10 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 8 views
8 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 13 views
+1 vote
1 answer 15 views
+1 vote
1 answer 9 views
+1 vote
1 answer 16 views
0 votes
1 answer 13 views
+1 vote
1 answer 11 views
0 votes
1 answer 12 views
12 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 12 views
+1 vote
1 answer 12 views
...