
Implement four bit flag macros in flags.h, then use them in update_flag.
SET_FLAG(4u, 0)Expected result
5For your own tracking. Tests grade your code.
CLEAR_FLAG(7u, 1)Expected result
5Expected files
flags.hflags.cAllowed functions
None. Write every helper yourself.

v0.40: Create exercises. Challenge the community.
Meet Studio →Implement four bit flag macros in flags.h, then use them in update_flag.
SET_FLAG(4u, 0)Expected result
5For your own tracking. Tests grade your code.
CLEAR_FLAG(7u, 1)Expected result
5Expected files
flags.hflags.cAllowed functions
None. Write every helper yourself.

Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.