Micron Technology Interview Question

They gave me a bit manipulation question in C