Qualcomm interview question

C Bit Manipulation, masking, shift/rotating questions