Intel Corporation Interview Question

Check for bits in a number. create macro and general handling using bitwise operator