0

how much is 4 bytes?or what does it literally mean?

does this mean the space the digits take or anything else?

8th Jul 2017, 5:33 PM
Aatish
Aatish - avatar
4 odpowiedzi
+ 8
Extending Karl's answer: A bit is one digit in binary. So 0 or 1. And example of a byte is: 01000010 (there are 8 bits in a byte)
8th Jul 2017, 5:41 PM
J.G.
J.G. - avatar
+ 6
4 bytes you mean? 4 bytes data type are 4*8 = 32 bits long, meaning that they require 32 bits in memory for encoding.
8th Jul 2017, 5:38 PM
Karl T.
Karl T. - avatar
+ 5
@Aatish Yep.
8th Jul 2017, 7:41 PM
J.G.
J.G. - avatar
+ 1
okay got it... it means 32 dgits (bits) in 4 bytes?
8th Jul 2017, 6:21 PM
Aatish
Aatish - avatar