Qualcomm interview question

Questions on C, Embedded bit operations, C++