Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

Bits, binary, and bitwise operators · ⁨บิต, บินารี และอ运营商แบบบิต⁩

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.

Handout · ⁨เอกสารประกอบการเรียน⁩

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP