10

My friend asked me if "the thing that contains a character" is a bit or a "bite"
He is a hw guy and has an A from ict, HOW CAN HE NOT KNOW THAT

Comments
  • 4
    I would bite him 🗣
  • 3
    But seriously though:
    Is it bit or bite?
  • 1
    @rootshell "thing that contains a character" - most languages have characters, chars whatever, basically storing an ASCII value (up to 255), which in binary is everything from 0000.0000 to 1111.1111 - so chars are practically a byte. I guess, right?
  • 2
    One character is one byte in most languages ( unless u use wide characters which are 2 or 4 bytes depending on UTF )
  • 2
    @BambuSource I've cheated before. Using less then an byte to show chars as an way to perserve memory. 😅
    Then again it was an NBP gotta make dem bites count. 😊
Add Comment