We know that a number gets stored in 8 bits, as a programmer you might also know that numbers range from (-128 to 127) in 1 byte. But 2^8 = 256 isn't it? So why? How do the negative numbers come into the picture and why it's not (-256 to 256) or not ...
Markdown supported · ⌘↵ to post
No responses yet.