Bitwise Flag Manager

C Easy 2 views
Back to Questions
Next Power of 2 Checker Easy N

Problem Description

8 boolean flags can be stored in a single char variable using bitwise operators. Create Functions: setFlag(), clearFlag(), toggleFlag(), checkFlag().

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next