What's the difference between a word and byte?

后端 未结 14 2209
再見小時候
再見小時候 2020-12-12 09:50

I\'ve done some research. A byte is 8 bits and a word is the smallest unit that can be addressed on memory. The exact length of a word varies. What I don\'t understand is wh

14条回答
  •  猫巷女王i
    2020-12-12 10:10

    Why not say 8 bits?

    Because not all machines have 8-bit bytes. Since you tagged this C, look up CHAR_BIT in limits.h.

提交回复
热议问题