What is the highest decimal value you can have for one byte?
A byte consists of 8 adjacent binary digits (bits), each of which consists of a 0 or 1.
Answer: 255 is the highest decimal value you can have for one byte.
Let us proceed step by step.
As we know there are 8 bits in one byte.
So the largest unsigned can be calculated by using 2n - 1, where n is the number of bits.
28 - 1 = 255.