21.04.2013, 00:59
Us humans count in powers of 10 whereas computers count in powers of 2. Hence 2^3 = 8. I guess it's 8 bits, because that's all you really need for characters. An unsigned 8 bit number has a max value of 2^8 - 1 (255 because we have to include 0 as a number). The extended ascii chart conveniently has 256 characters!
If I'm wrong , then it's just 2^7 - 1 so the cpu can process negative numbers as well.
@OP - This tutorial was a great read.
If I'm wrong , then it's just 2^7 - 1 so the cpu can process negative numbers as well.
@OP - This tutorial was a great read.