What is the largest decimal value that can be represented as an 8-bit unsigned integer?

2016-02-19T12:15:08Z

i thought it was 511 bc 511 = 1+2+4+8+16+32+64+128+2^8...

?2016-02-19T12:16:04Z

Well,

1111 1111_base 2 = 2^8 - 1 = 255_base 10

you proposal :
i thought it was 511 bc 511 = 1+2+4+8+16+32+64+1282^8
==> you are confusing with the amount of numbers,

... not the greatest

255 <--- answer

et voilĂ , mademoiselle !! ;-)

hope it' ll help !!