how can 1000 represent -8?If so then what will be the binary representation of +8?
Query regarding binary representation of negative nos
hello @Senjuti256
all negative numbers are stored as 2’s complement ,
and positive numbers as it is.
so -8 will be stored as 2’s complement of 8.
and 8 with be stored as it is in binary form.
click me for example
but 2’s complement of -8 will itself be a binary no. right?
yeah right, check the example i shared above.
it will clear ur doubt.
the link is not opening I tried to open it