179k views
3 votes
How do computers hold integers greater than 255?​

1 Answer

1 vote

Answer:

It depends on the number of bits you use. In your example, you've used an 8 bit (one byte) number, which does max out at 255. Ever since forever, computers have used numbers that are larger than one byte. For when that isn't enough, Fortran includes the 'double precision' numbers which use 8 bytes.

Step-by-step explanation:

User Uooq
by
3.4k points