Intel Corporation interview question

Write me a C program that do something with the number bits. doesnt 100% remember