Passer au contenu

Bits, binary, and bitwise operators

English

Numbers are bits

  • Inside the computer, every int is a row of bits — each bit is a 0 or a 1.
  • We usually read numbers in base 10, but the machine stores them in base 2 (binary).
  • Bitwise operators let you look at and change individual bits.

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP