C Bits and a tiny machine Lesson 3 of 5

Bit flags in C

40 min, 4 exercisesCode

Thirty-two on and off settings, and only room for one number.

You've reached the good stuff.

4 exercises, checked as you type.

  • All 4 courses
  • Projects
  • Bug hunts
  • No ads

See what’s included

Sign in

C, 32-bit: int and pointers are 4 bytes