C Bits and a tiny machine Lesson 3 of 5

Bit flags in C

25 min, 4 exercisesCode

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

The rest of this lesson is locked.

4 exercises, checked as you type.

Sign in

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